mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-14 22:51:50 +03:00
run_tests.sh: Test --with-lg-vaddr.
This commit is contained in:
parent
b001e6e740
commit
4c8829e692
1 changed files with 8 additions and 0 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue