Searched hist:11543 (Results 1 - 1 of 1) sorted by relevance
/gem5/tests/ | ||
H A D | tests.py | diff 11543:b5435e0310c7 Mon Jun 20 09:50:00 EDT 2016 Andreas Sandberg <andreas.sandberg@arm.com> tests: Add a test command to get test status as an exit code Add a "test" command to tests.py that queries a test pickle file and returns different exit codes depending on the outcome of the tests in the file. The following exit codes can currently be returned: * 0: All tests were successful or skipped. * 1: General fault in the script such as incorrect parameters or failing to parse a pickle file. * 2: At least one test failed to run. This is what the summary formatter usually shows as a 'FAILED'. * 3: All tests ran correctly, but at least one failed to verify its output. When displaying test output using the summary formatter, such a test would show up as 'CHANGED'. The command can be invoked like this: ./tests/tests.py test `find build/ARM/tests/opt/ -name status.pickle` Change-Id: I7e6bc661516f38ff08dfda7c4359a1e10bf97864 Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com> Reviewed-by: Curtis Dunham <curtis.dunham@arm.com> |
Completed in 4 milliseconds