diff options
author | Jason Evans <jasone@canonware.com> | 2017-05-31 11:56:31 -0700 |
---|---|---|
committer | Jason Evans <jasone@canonware.com> | 2017-06-01 08:55:27 -0700 |
commit | fd0fa003e188e94beab8871ff0c17ea4a8a2c706 (patch) | |
tree | b62c73dff9887ffbfeee63f33b338d6ff5eb591a /scripts/gen_run_tests.py | |
parent | b511232fcd8aeb85d5dc8e0515539baa5d333991 (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_run_tests.py')
-rwxr-xr-x | scripts/gen_run_tests.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/gen_run_tests.py b/scripts/gen_run_tests.py index 39e2be24..ddf21533 100755 --- a/scripts/gen_run_tests.py +++ b/scripts/gen_run_tests.py @@ -28,6 +28,7 @@ possible_malloc_conf_opts = [ 'tcache:false', 'dss:primary', 'percpu_arena:percpu', + 'background_thread:true', ] print 'set -e' @@ -57,7 +58,8 @@ for cc, cxx in possible_compilers: ) # Per CPU arenas are only supported on Linux. - linux_supported = ('percpu_arena:percpu' in malloc_conf_opts) + linux_supported = ('percpu_arena:percpu' in malloc_conf_opts \ + or 'background_thread:true' in malloc_conf_opts) # Heap profiling and dss are not supported on OS X. darwin_unsupported = ('--enable-prof' in config_opts or \ 'dss:primary' in malloc_conf_opts) |