diff options
| author | MarcoFalke <[email protected]> | 2017-12-09 18:39:06 -0500 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2018-01-24 15:52:07 -0500 |
| commit | faefd2923a00e82be794f090b4bd861c5c58c95a (patch) | |
| tree | 4d151dcc68a8bcb8e3617b1c4084d0bdfe9d1dd7 /test/util | |
| parent | Merge #12194: Add change type option to fundrawtransaction (diff) | |
| download | discoin-faefd2923a00e82be794f090b4bd861c5c58c95a.tar.xz discoin-faefd2923a00e82be794f090b4bd861c5c58c95a.zip | |
qa: Prepare functional tests for Windows
* Pass `sys.executable` when calling a python script via the subprocess
module
* Don't remove the log file while it is still open and written to
* Properly use os.pathsep and os.path.sep when modifying the PATH
environment variable
* util-tests: Use os.path.join for Windows compatibility
Diffstat (limited to 'test/util')
| -rwxr-xr-x | test/util/bitcoin-util-test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/util/bitcoin-util-test.py b/test/util/bitcoin-util-test.py index 64e826ad0..30bd13d0d 100755 --- a/test/util/bitcoin-util-test.py +++ b/test/util/bitcoin-util-test.py @@ -44,7 +44,7 @@ def main(): # Add the format/level to the logger logging.basicConfig(format=formatter, level=level) - bctester(os.path.join(env_conf["SRCDIR"], "test/util/data"), "bitcoin-util-test.json", env_conf) + bctester(os.path.join(env_conf["SRCDIR"], "test", "util", "data"), "bitcoin-util-test.json", env_conf) def bctester(testDir, input_basename, buildenv): """ Loads and parses the input file, runs all tests and reports results""" |