diff options
author | MarcoFalke <falke.marco@gmail.com> | 2017-12-09 18:39:06 -0500 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2018-01-24 15:52:07 -0500 |
commit | faefd2923a00e82be794f090b4bd861c5c58c95a (patch) | |
tree | 4d151dcc68a8bcb8e3617b1c4084d0bdfe9d1dd7 /test/util | |
parent | 7abb0f0929bd2cd413087f602f9bb5cebab898f8 (diff) |
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 64e826ad0b..30bd13d0dc 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""" |