diff options
author | David Goldblatt <davidgoldblatt@fb.com> | 2018-05-04 11:46:01 -0700 |
---|---|---|
committer | David Goldblatt <davidtgoldblatt@gmail.com> | 2018-05-04 15:50:12 -0700 |
commit | 4c8829e6924ee7abae6f41ca57303a88dd6f1315 (patch) | |
tree | 45108e6fef2174b02b8fc3d4d5cfad063d04e188 | |
parent | b001e6e7407cd7e07bad533445eee7f0224cb268 (diff) | |
download | platform_external_jemalloc_new-4c8829e6924ee7abae6f41ca57303a88dd6f1315.tar.gz platform_external_jemalloc_new-4c8829e6924ee7abae6f41ca57303a88dd6f1315.tar.bz2 platform_external_jemalloc_new-4c8829e6924ee7abae6f41ca57303a88dd6f1315.zip |
run_tests.sh: Test --with-lg-vaddr.
-rwxr-xr-x | scripts/gen_run_tests.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/gen_run_tests.py b/scripts/gen_run_tests.py index bf19c2c9..f1988fdc 100755 --- a/scripts/gen_run_tests.py +++ b/scripts/gen_run_tests.py @@ -1,9 +1,14 @@ #!/usr/bin/env python +import sys from itertools import combinations from os import uname from multiprocessing import cpu_count +# Later, we want to test extended vaddr support. Apparently, the "real" way of +# checking this is flaky on OS X. +bits_64 = sys.maxsize > 2**32 + nparallel = cpu_count() * 2 uname = uname()[0] @@ -23,6 +28,9 @@ possible_config_opts = [ '--enable-prof', '--disable-stats', ] +if bits_64: + possible_config_opts.append('--with-lg-vaddr=56') + possible_malloc_conf_opts = [ 'tcache:false', 'dss:primary', |