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:
parent
c6af0aa453
commit
88fbdc4868
|
@ -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')],
|
||||||
|
|
Loading…
Reference in New Issue