summaryrefslogtreecommitdiff
path: root/scripts/gen_travis.py
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2017-05-31 11:56:31 -0700
committerJason Evans <jasone@canonware.com>2017-06-01 08:55:27 -0700
commitfd0fa003e188e94beab8871ff0c17ea4a8a2c706 (patch)
treeb62c73dff9887ffbfeee63f33b338d6ff5eb591a /scripts/gen_travis.py
parentb511232fcd8aeb85d5dc8e0515539baa5d333991 (diff)
Test with background_thread:true.
Add testing for background_thread:true, and condition a xallocx() --> rallocx() escalation assertion to allow for spurious in-place rallocx() following xallocx() failure.
Diffstat (limited to 'scripts/gen_travis.py')
-rwxr-xr-xscripts/gen_travis.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/gen_travis.py b/scripts/gen_travis.py
index 26997b25..6dd39290 100755
--- a/scripts/gen_travis.py
+++ b/scripts/gen_travis.py
@@ -49,6 +49,7 @@ malloc_conf_unusuals = [
'tcache:false',
'dss:primary',
'percpu_arena:percpu',
+ 'background_thread:true',
]
all_unusuals = (
@@ -80,7 +81,8 @@ for unusual_combination in unusual_combinations_to_test:
x for x in unusual_combination if x in malloc_conf_unusuals]
# Filter out unsupported configurations on OS X.
if os == 'osx' and ('dss:primary' in malloc_conf or \
- 'percpu_arena:percpu' in malloc_conf):
+ 'percpu_arena:percpu' in malloc_conf or 'background_thread:true' \
+ in malloc_conf):
continue
if len(malloc_conf) > 0:
configure_flags.append('--with-malloc-conf=' + ",".join(malloc_conf))