]> Git Repo - VerusCoin.git/commitdiff
Add bitcoin-util-test.py to full_test_suite.py
authorJack Grigg <[email protected]>
Mon, 16 Oct 2017 20:15:10 +0000 (16:15 -0400)
committerJack Grigg <[email protected]>
Mon, 16 Oct 2017 20:15:10 +0000 (16:15 -0400)
Not moved, because upstream makes improvements to this script, and the need to
set environment variables makes it simpler to just use the given script.

qa/zcash/full_test_suite.py

index 6e890c49a1b9ba65269a95ea3a2d15d729301665..ecdd3a39a59672de1a3490fff8d8dd7c3961b849 100755 (executable)
@@ -110,6 +110,13 @@ def ensure_no_dot_so_in_depends():
 
     return exit_code == 0
 
+def util_test():
+    return subprocess.call(
+        [repofile('src/test/bitcoin-util-test.py')],
+        cwd=repofile('src'),
+        env={'PYTHONPATH': repofile('src/test'), 'srcdir': repofile('src')}
+    ) == 0
+
 
 #
 # Tests
@@ -120,6 +127,7 @@ STAGES = [
     'gtest',
     'sec-hard',
     'no-dot-so',
+    'util-test',
     'secp256k1',
     'univalue',
     'rpc',
@@ -130,6 +138,7 @@ STAGE_COMMANDS = {
     'gtest': [repofile('src/zcash-gtest')],
     'sec-hard': check_security_hardening,
     'no-dot-so': ensure_no_dot_so_in_depends,
+    'util-test': util_test,
     'secp256k1': ['make', '-C', repofile('src/secp256k1'), 'check'],
     'univalue': ['make', '-C', repofile('src/univalue'), 'check'],
     'rpc': [repofile('qa/pull-tester/rpc-tests.sh')],
This page took 0.025628 seconds and 4 git commands to generate.