changeset 532f423d6760 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=532f423d6760
description:
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:
tests/configs/t1000-simple-atomic.py | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (16 lines):
diff -r 022e5d110a22 -r 532f423d6760 tests/configs/t1000-simple-atomic.py
--- a/tests/configs/t1000-simple-atomic.py Tue Jul 07 09:51:03 2015 +0100
+++ b/tests/configs/t1000-simple-atomic.py Tue Jul 07 09:51:03 2015 +0100
@@ -31,7 +31,11 @@
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)
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev