summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/gem5/suite.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/gem5/suite.py b/tests/gem5/suite.py
index 8a8c76d53..2c4879759 100644
--- a/tests/gem5/suite.py
+++ b/tests/gem5/suite.py
@@ -75,6 +75,16 @@ def gem5_verify_config(name,
'''
fixtures = list(fixtures)
testsuites = []
+
+ # Obtain the set of tests to ignore. This is found in the
+ # ".testignore" file.
+ __location__ = os.path.realpath(
+ os.path.join(os.getcwd(), os.path.dirname(__file__)))
+ _test_ignore_file_loc = os.path.join(__location__,".testignore")
+ ignore = set()
+ if os.path.exists(_test_ignore_file_loc):
+ ignore.update(open(_test_ignore_file_loc).read().splitlines())
+
for opt in valid_variants:
for isa in valid_isas:
@@ -91,6 +101,11 @@ def gem5_verify_config(name,
if protocol:
_name += '-'+protocol
+ # We check to see if this test suite is to be ignored. If so, we
+ # skip it.
+ if _name in ignore:
+ continue
+
# Create the running of gem5 subtest.
# NOTE: We specifically create this test before our verifiers so
# this is listed first.