gem5/tests/testing
Andreas Sandberg 1ecc3628a8 tests: Add support for functional only tests
Modify the ClassicTest class to only emit a stat verification test
unit if there is a reference stat file. This makes it possible to
design tests that don't care about stat changes.

To generate purely functional tests, we need to be able to create
empty test reference directories. This does not work well with many
revision control systems. As a workaround, add a file named EMPTY to
the list of ignored files in the test harness. This file can be used
as a placeholder in otherwise empty test directories.

Change-Id: I583c8c4e55479f0d48fa99d0b0d1eac9221e6652
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Curtis Dunham <curtis.dunham@arm.com>
2016-09-16 09:04:20 +01:00
..
__init__.py tests: Add test infrastructure as a Python module 2016-05-26 11:56:24 +01:00
helpers.py tests: Add regex-based ignore rules for ref files 2016-07-22 15:24:20 +01:00
results.py tests: Split test results into running and verification 2016-06-20 14:50:34 +01:00
tests.py tests: Add support for functional only tests 2016-09-16 09:04:20 +01:00
units.py tests: Add test infrastructure as a Python module 2016-05-26 11:56:24 +01:00