Skip to content

Commit

Permalink
Add bitcoin-util-test.py to full_test_suite.py
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
str4d committed Oct 16, 2017
1 parent c6af0aa commit 88fbdc4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions qa/zcash/full_test_suite.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -120,6 +127,7 @@ def ensure_no_dot_so_in_depends():
'gtest',
'sec-hard',
'no-dot-so',
'util-test',
'secp256k1',
'univalue',
'rpc',
Expand All @@ -130,6 +138,7 @@ def ensure_no_dot_so_in_depends():
'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')],
Expand Down

0 comments on commit 88fbdc4

Please sign in to comment.