gem5/tests
Andreas Sandberg 44e9b81f74 scons: Use the new test framework from scons
Rewrite the SCons script responsible for launching tests to use the
new test framework. The biggest visible change after this changeset is
that SCons no longer produces a "status" file in test build
directories. Instead, it creates a status.pickle file. That file can
be inspected using the new tests.py script. Another visible change is
that timed out tests are now reported as failed rather than a using a
separate summary message.

Since the pickle file will remain in the build directory after running
tests, it's now possible to convert the test results into other
formats. For example:

./tests/tests.py show --format junit -o junit.xml \
    `find build/ -name status.pickle`

To better facilitate running outside of scons, there is now a set of
targets that generate test listings that can be used by the test
script. There are currently three targets, quick.list, long.list, and
all.list. For example:

scons build/ARM/tests/opt/all.list
for F in `cat build/ARM/tests/opt/all.list`; do
    ./tests/tests.py run build/ARM/gem5.opt $F
done

Change-Id: I2c0f8ca0080d7af737362e198eda4cb3a72e6c36
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Curtis Dunham <curtis.dunham@arm.com>
2016-05-31 11:27:00 +01:00
..
configs mem, config: Selective use of snoop filter 2016-05-27 17:05:58 +01:00
long stats: update for snoop filter tweak 2016-05-31 11:07:18 +01:00
quick stats: update for snoop filter tweak 2016-05-31 11:07:18 +01:00
test-progs style: fix missing spaces in control statements 2016-02-06 17:21:19 -08:00
testing tests: Fix incorrect stat.txt ignore when updating refs 2016-05-31 11:26:59 +01:00
diff-out tests: fix diff-out script for op/inst stat changes. 2012-02-12 18:35:59 -06:00
halt.sh Rearrange the FS configs to be more shared. Also check in the full-system tests. Reference stats coming soon. 2006-07-21 15:56:35 -04:00
run.py tests: Enable test running outside of gem5's source tree 2016-05-09 11:32:07 +01:00
SConscript scons: Use the new test framework from scons 2016-05-31 11:27:00 +01:00
tests.py tests: Add test infrastructure as a Python module 2016-05-26 11:56:24 +01:00