DescriptionSubzero: Run cross tests as a much more configurable python script.
The runtests.sh script is removed and replaced with crosstest_generator.py.
"make check" limits to a relevant subset of cross tests to control the combinatorial explosion. We cut the native tests almost in half, and the sandboxed tests down to a quarter.
The --include and --exclude logic is copied/adapted from szbuild.py.
The script works by running through every possible test in the combinatorial explosion, and if the test is a match against the --include and --exclude arguments, the test is built and run.
The script includes lit support, which is the most likely way it will be run. When run with the --lit argument, it sprays the output directory with lit test files in the form of shell scripts, and "make check" runs lit on that directory.
BUG= https://code.google.com/p/nativeclient/issues/detail?id=4085
R=jvoung@chromium.org, mtrofin@chromium.org
Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=dc7c597ea93585ad9a56a06558260e4fac6d48ae
Patch Set 1 #Patch Set 2 : Add lit support #Patch Set 3 : Cleanup, fixes #Patch Set 4 : More cleanup #Patch Set 5 : Even more cleanup #
Total comments: 15
Patch Set 6 : Code review changes #Patch Set 7 : Add import to be safe #
Messages
Total messages: 10 (1 generated)
|