run_tests.sh: Test --with-lg-vaddr.

This commit is contained in:
David Goldblatt 2018-05-04 11:46:01 -07:00 committed by David Goldblatt
parent b001e6e740
commit 4c8829e692

View File

@ -1,9 +1,14 @@
#!/usr/bin/env python #!/usr/bin/env python
import sys
from itertools import combinations from itertools import combinations
from os import uname from os import uname
from multiprocessing import cpu_count 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 nparallel = cpu_count() * 2
uname = uname()[0] uname = uname()[0]
@ -23,6 +28,9 @@ possible_config_opts = [
'--enable-prof', '--enable-prof',
'--disable-stats', '--disable-stats',
] ]
if bits_64:
possible_config_opts.append('--with-lg-vaddr=56')
possible_malloc_conf_opts = [ possible_malloc_conf_opts = [
'tcache:false', 'tcache:false',
'dss:primary', 'dss:primary',