Skip to content

Commit 4c8829e

Browse files
run_tests.sh: Test --with-lg-vaddr.
1 parent b001e6e commit 4c8829e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

scripts/gen_run_tests.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
#!/usr/bin/env python
22

3+
import sys
34
from itertools import combinations
45
from os import uname
56
from multiprocessing import cpu_count
67

8+
# Later, we want to test extended vaddr support. Apparently, the "real" way of
9+
# checking this is flaky on OS X.
10+
bits_64 = sys.maxsize > 2**32
11+
712
nparallel = cpu_count() * 2
813

914
uname = uname()[0]
@@ -23,6 +28,9 @@ def powerset(items):
2328
'--enable-prof',
2429
'--disable-stats',
2530
]
31+
if bits_64:
32+
possible_config_opts.append('--with-lg-vaddr=56')
33+
2634
possible_malloc_conf_opts = [
2735
'tcache:false',
2836
'dss:primary',

0 commit comments

Comments
 (0)