The srcdir option was both unused and misleading; It should have been called builddir. So remove it.
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-
MarcoFalke commented at 5:08 PM on May 8, 2018: member
-
qa: Remove unused option --srcdir fac1e1f3b2
- MarcoFalke added the label Tests on May 8, 2018
-
jnewbery commented at 6:12 PM on May 8, 2018: member
What is the
PATHenvironment variable used for in the test_framework? Can we just remove those lines entirely? -
MarcoFalke commented at 6:22 PM on May 8, 2018: member
The
PATHenvironment variable is used to give hints where executables are located. So, if someone were to setBITCOIND=bitcoin-qt ./test/functional/wallet_disable.py, the subprocess would find the executable in the qt subfolder of the build dir. -
MarcoFalke commented at 6:23 PM on May 8, 2018: member
This is useful for e.g. #12873
-
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 thebitcoin-qtexecutable.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=bitcoindorBITCOIND=bitcoin-qt, and then it works for$BUILDIR/src/bitcoindor$BUILDDIR/src/qt/bitcoin-qt. Why don't we makeBITCOINDrequire a full path? -
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.
-
jnewbery commented at 7:07 PM on May 8, 2018: member
utACK fac1e1f3b2d256d7c29b6ba06ae2acc0fbcdf0c2
-
fanquake commented at 6:34 AM on May 9, 2018: member
utACK https://github.com/bitcoin/bitcoin/pull/13188/commits/fac1e1f3b2d256d7c29b6ba06ae2acc0fbcdf0c2 Only mention of
--srcdirleft is in some old release notes. "#80183e90fe6Autofind rpc tests --srcdir (jonasschnelli)" -
laanwj commented at 8:42 AM on May 9, 2018: member
utACK fac1e1f
- laanwj merged this on May 9, 2018
- laanwj closed this on May 9, 2018
- laanwj referenced this in commit 4a50ec0efd on May 9, 2018
- MarcoFalke deleted the branch on May 9, 2018
- laanwj referenced this in commit d4f6dac9ab on Jun 1, 2018
- jasonbcox referenced this in commit 6387a72b36 on Aug 16, 2019
- UdjinM6 referenced this in commit 099d153523 on May 21, 2021
- UdjinM6 referenced this in commit 79568f97c3 on May 25, 2021
- TheArbitrator referenced this in commit 9192ffc29b on Jun 7, 2021
- UdjinM6 referenced this in commit 14409b8b39 on Jun 19, 2021
- UdjinM6 referenced this in commit 0187d4a1d5 on Jun 24, 2021
- UdjinM6 referenced this in commit 97ab813bd9 on Jun 26, 2021
- UdjinM6 referenced this in commit a04cf961de on Jun 26, 2021
- PastaPastaPasta referenced this in commit 09282ffc2a on Jun 27, 2021
- PastaPastaPasta referenced this in commit da6d8a1e24 on Jun 28, 2021
- PastaPastaPasta referenced this in commit 071f5c032b on Jun 28, 2021
- UdjinM6 referenced this in commit b12936ba71 on Jun 28, 2021
- PastaPastaPasta referenced this in commit 30310215a0 on Jun 29, 2021
- MarcoFalke locked this on Sep 8, 2021