Chromium Code Reviews
DescriptionAdd Subzero to test scripts.
Scons tests can enable Subzero on PNaCl/x86-32.
./scons -j32 platform=x86-32 bitcode=1 use_sz=1 smoke_tests
Can also use translate_fast=1 .
Gcc torture tests on x86-32 now include a couple of Subzero configs.
tools/toolchain_tester/torture_test.py pnacl x86-32 --concurrency=32
LLVM test suite has options to enable Subzero.
PNACL_CONCURRENCY=32 pnacl/scripts/llvm-test.py --testsuite-all --arch x86-32 --opt O2b_sz
PNACL_CONCURRENCY=32 pnacl/scripts/llvm-test.py --testsuite-all --arch x86-32 --opt O0b_sz
(Also need to set LD_LIBRARY_PATH to something like $NACL/toolchain/linux_x86/pnacl_newlib/lib)
Spec2k tests on x86-32 allows a couple of Subzero configs:
./run_all.sh TimedBuildAndRunBenchmarks SetupPnaclX8632OptSz train
./run_all.sh TimedBuildAndRunBenchmarks SetupPnaclTranslatorX8632OptSz train
(The SetupPnaclTranslatorX8632OptSz config is not yet tested.)
BUG= https://code.google.com/p/nativeclient/issues/detail?id=4092
TEST= ./scons -j32 platform=x86-32 bitcode=1 use_sz=1 smoke_tests
TEST= ./scons -j32 platform=x86-32 bitcode=1 use_sz=1 translate_fast=1 smoke_tests
TEST= tools/toolchain_tester/torture_test.py pnacl x86-32 --concurrency=32
TEST= PNACL_CONCURRENCY=32 pnacl/scripts/llvm-test.py --testsuite-all --arch x86-32 --opt O2b_sz
TEST= PNACL_CONCURRENCY=32 pnacl/scripts/llvm-test.py --testsuite-all --arch x86-32 --opt O0b_sz
TEST= cd tests/spec2k ; ./run_all.sh TimedBuildAndRunBenchmarks SetupPnaclX8632OptSz train
TEST= cd tests/spec2k ; ./run_all.sh TimedBuildAndRunBenchmarks SetupPnaclTranslatorX8632OptSz train
R=jvoung@chromium.org
Committed: https://chromium.googlesource.com/native_client/src/native_client/+/e0ca6487422c55485dbd73454d700b4bf0971e86
Patch Set 1 #Patch Set 2 : Add spec2k support #Patch Set 3 : Refactor the repetition in building configs #Patch Set 4 : Formatting #
Total comments: 8
Patch Set 5 : Code review changes #
Messages
Total messages: 8 (1 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||