qa: Remove unused option --srcdir #13188

pull MarcoFalke wants to merge 1 commits into bitcoin:master from MarcoFalke:Mf1805-qaSrcdir changing 2 files +5 −8
  1. MarcoFalke commented at 5:08 PM on May 8, 2018: member

    The srcdir option was both unused and misleading; It should have been called builddir. So remove it.

  2. qa: Remove unused option --srcdir fac1e1f3b2
  3. MarcoFalke added the label Tests on May 8, 2018
  4. jnewbery commented at 6:12 PM on May 8, 2018: member

    What is the PATH environment variable used for in the test_framework? Can we just remove those lines entirely?

  5. MarcoFalke commented at 6:22 PM on May 8, 2018: member

    The PATH environment variable is used to give hints where executables are located. So, if someone were to set BITCOIND=bitcoin-qt ./test/functional/wallet_disable.py, the subprocess would find the executable in the qt subfolder of the build dir.

  6. MarcoFalke commented at 6:23 PM on May 8, 2018: member

    This is useful for e.g. #12873

  7. jnewbery commented at 6:47 PM on May 8, 2018: member

    This is useful for e.g. #12873

    That PR uses BITCOIND=$(find . -name 'bitcoin-qt' -executable), which will give the path to the bitcoin-qt executable.

    if someone were to set BITCOIND=bitcoin-qt ./test/functional/wallet_disable.py, the subprocess would find the executable in the qt subfolder of the build dir.

    Yes, this works, but it's weirdly specific - you either set BITCOIND=bitcoind or BITCOIND=bitcoin-qt, and then it works for $BUILDIR/src/bitcoind or $BUILDDIR/src/qt/bitcoin-qt. Why don't we make BITCOIND require a full path?

  8. MarcoFalke commented at 6:55 PM on May 8, 2018: member

    It is harder to manually specify a full path than just the name, but I don't feel strongly either way.

  9. jnewbery commented at 7:07 PM on May 8, 2018: member

    utACK fac1e1f3b2d256d7c29b6ba06ae2acc0fbcdf0c2

  10. fanquake commented at 6:34 AM on May 9, 2018: member

    utACK https://github.com/bitcoin/bitcoin/pull/13188/commits/fac1e1f3b2d256d7c29b6ba06ae2acc0fbcdf0c2 Only mention of --srcdir left is in some old release notes. "#8018 3e90fe6 Autofind rpc tests --srcdir (jonasschnelli)"

  11. laanwj commented at 8:42 AM on May 9, 2018: member

    utACK fac1e1f

  12. laanwj merged this on May 9, 2018
  13. laanwj closed this on May 9, 2018

  14. laanwj referenced this in commit 4a50ec0efd on May 9, 2018
  15. MarcoFalke deleted the branch on May 9, 2018
  16. laanwj referenced this in commit d4f6dac9ab on Jun 1, 2018
  17. jasonbcox referenced this in commit 6387a72b36 on Aug 16, 2019
  18. UdjinM6 referenced this in commit 099d153523 on May 21, 2021
  19. UdjinM6 referenced this in commit 79568f97c3 on May 25, 2021
  20. TheArbitrator referenced this in commit 9192ffc29b on Jun 7, 2021
  21. UdjinM6 referenced this in commit 14409b8b39 on Jun 19, 2021
  22. UdjinM6 referenced this in commit 0187d4a1d5 on Jun 24, 2021
  23. UdjinM6 referenced this in commit 97ab813bd9 on Jun 26, 2021
  24. UdjinM6 referenced this in commit a04cf961de on Jun 26, 2021
  25. PastaPastaPasta referenced this in commit 09282ffc2a on Jun 27, 2021
  26. PastaPastaPasta referenced this in commit da6d8a1e24 on Jun 28, 2021
  27. PastaPastaPasta referenced this in commit 071f5c032b on Jun 28, 2021
  28. UdjinM6 referenced this in commit b12936ba71 on Jun 28, 2021
  29. PastaPastaPasta referenced this in commit 30310215a0 on Jun 29, 2021
  30. MarcoFalke locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-17 06:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me