diff options
author | Andreas Sandberg <andreas.sandberg@arm.com> | 2015-07-07 09:51:03 +0100 |
---|---|---|
committer | Andreas Sandberg <andreas.sandberg@arm.com> | 2015-07-07 09:51:03 +0100 |
commit | d7a56ee524c976a41fa40e5382a28462de799645 (patch) | |
tree | 11c6a9005b87513c61f8d8e2f3c323e8951b17a3 /tests/configs | |
parent | 7cd5db8c6d7ea4ad23da5c9799a28e2224fab449 (diff) | |
download | gem5-d7a56ee524c976a41fa40e5382a28462de799645.tar.xz |
tests: Skip SPARC tests if the required binaries are missing
The full-system SPARC tests depend on several binaries that aren't
generally available to the wider community. Flag the tests as skipped
instead of failed if these binaries can't be found.
Diffstat (limited to 'tests/configs')
-rw-r--r-- | tests/configs/t1000-simple-atomic.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/configs/t1000-simple-atomic.py b/tests/configs/t1000-simple-atomic.py index 96357f40c..209cb2813 100644 --- a/tests/configs/t1000-simple-atomic.py +++ b/tests/configs/t1000-simple-atomic.py @@ -31,7 +31,11 @@ from m5.objects import * m5.util.addToPath('../configs/common') import FSConfig -system = FSConfig.makeSparcSystem('atomic') +try: + system = FSConfig.makeSparcSystem('atomic') +except IOError as e: + skip_test(reason=str(e)) + system.voltage_domain = VoltageDomain() system.clk_domain = SrcClockDomain(clock = '1GHz', voltage_domain = system.voltage_domain) |