aboutsummaryrefslogtreecommitdiff
path: root/src/test/bitcoin-util-test.py
diff options
context:
space:
mode:
authorCory Fields <cory-nospam-@coryfields.com>2014-09-30 16:05:27 -0400
committerCory Fields <cory-nospam-@coryfields.com>2014-09-30 16:26:22 -0400
commit41d67c78bf66c8c171947148e18b9ec01768ba65 (patch)
tree24f9b9fa21f92eb8df80c6343498016cc3688589 /src/test/bitcoin-util-test.py
parent4b2b78b9f2bd339cc4505996258e00c186e91792 (diff)
tests: fix python test-runner for windows
Windows needed a few fixups to get the tests running: 1. bitcoin-tx needs a file extension in Windows. Take this opportunity to add an env file, which pulls variables out of our build config. This can be extended as needed, for now it's very simple. 2. After #1, split the args out of the exec key in the test data. 3. Correct the line-endings from windows stdout
Diffstat (limited to 'src/test/bitcoin-util-test.py')
-rwxr-xr-xsrc/test/bitcoin-util-test.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/bitcoin-util-test.py b/src/test/bitcoin-util-test.py
index 40690c2fed..0eece14cfe 100755
--- a/src/test/bitcoin-util-test.py
+++ b/src/test/bitcoin-util-test.py
@@ -5,8 +5,9 @@
import os
import bctest
+import buildenv
if __name__ == '__main__':
bctest.bctester(os.environ["srcdir"] + "/test/data",
- "bitcoin-util-test.json")
+ "bitcoin-util-test.json",buildenv)