aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2019-10-25 08:09:48 -0400
committerJack Lloyd <[email protected]>2019-10-25 08:09:48 -0400
commitb0ce38cabb70798c554a3ca051c38e100e30d5d8 (patch)
tree567ec1e40a33288b081cf04b6a3df0d55d213a2c
parenta42fc177960207e90048b214e07449169f9e3583 (diff)
Rename var holding tests used in qemu
Some of these tests are quite slow, actually it represents the most critical tests that we want to be sure of and run everywhere we can.
-rwxr-xr-xsrc/scripts/ci_build.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/scripts/ci_build.py b/src/scripts/ci_build.py
index c1bf2fc6f..5ca132a8f 100755
--- a/src/scripts/ci_build.py
+++ b/src/scripts/ci_build.py
@@ -54,12 +54,12 @@ def determine_flags(target, target_os, target_cpu, target_cc, cc_bin, ccache, ro
# threads just slow down valgrind, qemu, etc
test_cmd += ['--test-threads=1']
- fast_tests = ['block', 'aead', 'hash', 'stream', 'mac', 'modes', 'kdf',
- 'hmac_drbg', 'hmac_drbg_unit',
- 'tls', 'ffi',
- 'rsa_sign', 'rsa_verify', 'dh_kat',
- 'ecc_randomized', 'ecdh_kat', 'ecdsa_sign', 'curve25519_scalar',
- 'cpuid', 'simd_32', 'os_utils', 'util', 'util_dates']
+ essential_tests = ['block', 'aead', 'hash', 'stream', 'mac', 'modes', 'kdf',
+ 'hmac_drbg', 'hmac_drbg_unit',
+ 'tls', 'ffi',
+ 'rsa_sign', 'rsa_verify', 'dh_kat',
+ 'ecc_randomized', 'ecdh_kat', 'ecdsa_sign', 'curve25519_scalar',
+ 'cpuid', 'simd_32', 'os_utils', 'util', 'util_dates']
install_prefix = os.path.join(tempfile.gettempdir(), 'botan-install')
flags = ['--prefix=%s' % (install_prefix),
@@ -104,7 +104,7 @@ def determine_flags(target, target_os, target_cpu, target_cc, cc_bin, ccache, ro
# valgrind in 16.04 has a bug with rdrand handling
flags += ['--with-valgrind', '--disable-rdrand']
test_prefix = ['valgrind', '--error-exitcode=9', '-v', '--leak-check=full', '--show-reachable=yes']
- test_cmd += fast_tests
+ test_cmd += essential_tests
if target == 'fuzzers':
flags += ['--unsafe-fuzzer-mode']
@@ -186,7 +186,7 @@ def determine_flags(target, target_os, target_cpu, target_cc, cc_bin, ccache, ro
test_prefix = ['wine']
else:
# Build everything but restrict what is run
- test_cmd += fast_tests
+ test_cmd += essential_tests
if target == 'cross-arm32':
flags += ['--cpu=armv7']