aboutsummaryrefslogtreecommitdiffstats
path: root/src/scripts/ci_build.py
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2019-12-10 08:35:43 -0500
committerJack Lloyd <[email protected]>2019-12-10 08:35:43 -0500
commit10d4cc3a62d160583a78d74fbd7884d6146e7483 (patch)
tree7dc426f598edc5c89bb338e43c0fc2cce30d0590 /src/scripts/ci_build.py
parent899893109f6416a9c5c7fe35818f99f48a004aa9 (diff)
qemu can utilize multiple threads
Diffstat (limited to 'src/scripts/ci_build.py')
-rwxr-xr-xsrc/scripts/ci_build.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/scripts/ci_build.py b/src/scripts/ci_build.py
index ebbaf84f8..d10fc173b 100755
--- a/src/scripts/ci_build.py
+++ b/src/scripts/ci_build.py
@@ -54,10 +54,6 @@ def determine_flags(target, target_os, target_cpu, target_cc, cc_bin,
test_prefix = []
test_cmd = [os.path.join(root_dir, 'botan-test')]
- if target not in ['shared', 'static', 'sanitizer', 'fuzzers', 'gcc4.8', 'cross-i386', 'bsi', 'nist']:
- # threads just slow down valgrind, qemu, etc
- test_cmd += ['--test-threads=1']
-
essential_tests = ['block', 'aead', 'hash', 'stream', 'mac', 'modes', 'kdf',
'hmac_drbg', 'hmac_drbg_unit',
'tls', 'ffi',
@@ -111,6 +107,8 @@ def determine_flags(target, target_os, target_cpu, target_cc, cc_bin,
# 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']
+ # valgrind is single threaded anyway
+ test_cmd += ['--test-threads=1']
test_cmd += essential_tests
if target == 'fuzzers':
flags += ['--unsafe-fuzzer-mode']