Fix run_tests to avoid percpu_arena on !Linux.
This commit is contained in:
parent
927239b910
commit
57aaa53f2b
@ -60,9 +60,9 @@ for cc, cxx in possible_compilers:
|
|||||||
# Heap profiling and dss are not supported on OS X.
|
# Heap profiling and dss are not supported on OS X.
|
||||||
darwin_unsupported = ('--enable-prof' in config_opts or \
|
darwin_unsupported = ('--enable-prof' in config_opts or \
|
||||||
'dss:primary' in malloc_conf_opts)
|
'dss:primary' in malloc_conf_opts)
|
||||||
if uname is 'Linux' and linux_supported \
|
if (uname == 'Linux' and linux_supported) \
|
||||||
or uname is not 'Darwin' \
|
or (not linux_supported and (uname != 'Darwin' or \
|
||||||
or not darwin_unsupported:
|
not darwin_unsupported)):
|
||||||
print """cat <<EOF > run_test_%(ind)d.sh
|
print """cat <<EOF > run_test_%(ind)d.sh
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user