Add bitcoin-util-test.py to full_test_suite.py

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.
This commit is contained in:
Jack Grigg 2017-10-16 16:15:10 -04:00
parent c6af0aa453
commit 88fbdc4868
No known key found for this signature in database
GPG Key ID: 665DBCD284F7DAFF
1 changed files with 9 additions and 0 deletions

View File

@ -110,6 +110,13 @@ def ensure_no_dot_so_in_depends():
return exit_code == 0 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 # Tests
@ -120,6 +127,7 @@ STAGES = [
'gtest', 'gtest',
'sec-hard', 'sec-hard',
'no-dot-so', 'no-dot-so',
'util-test',
'secp256k1', 'secp256k1',
'univalue', 'univalue',
'rpc', 'rpc',
@ -130,6 +138,7 @@ STAGE_COMMANDS = {
'gtest': [repofile('src/zcash-gtest')], 'gtest': [repofile('src/zcash-gtest')],
'sec-hard': check_security_hardening, 'sec-hard': check_security_hardening,
'no-dot-so': ensure_no_dot_so_in_depends, 'no-dot-so': ensure_no_dot_so_in_depends,
'util-test': util_test,
'secp256k1': ['make', '-C', repofile('src/secp256k1'), 'check'], 'secp256k1': ['make', '-C', repofile('src/secp256k1'), 'check'],
'univalue': ['make', '-C', repofile('src/univalue'), 'check'], 'univalue': ['make', '-C', repofile('src/univalue'), 'check'],
'rpc': [repofile('qa/pull-tester/rpc-tests.sh')], 'rpc': [repofile('qa/pull-tester/rpc-tests.sh')],