changeset 3c383d9a7c31 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=3c383d9a7c31
description:
tests: Only run Ruby tests when testing Ruby targets
Limit the test configs to Ruby-only configs when testing a Ruby target
that isn't MI_example. This avoids re-running configs that has already
been tested by the generic (non-Ruby) ISA target. This behavior was
the expected behavior prior to switching to the new test framework.
Change-Id: I3f138dbf9c7071ce862d1073aaec57c59afbc921
Signed-off-by: Andreas Sandberg <[email protected]>
Reviewed-by: Curtis Dunham <[email protected]>
diffstat:
tests/testing/tests.py | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (16 lines):
diff -r b539c1a6e597 -r 3c383d9a7c31 tests/testing/tests.py
--- a/tests/testing/tests.py Thu Jun 02 10:48:20 2016 +0100
+++ b/tests/testing/tests.py Thu Jun 02 10:48:45 2016 +0100
@@ -326,7 +326,11 @@
if ruby_protocol == 'MI_example':
configs += [ "%s-ruby" % (c, ) for c in configs ]
elif ruby_protocol is not None:
- configs += [ "%s-ruby-%s" % (c, ruby_protocol) for c in configs ]
+ # Override generic ISA configs when using Ruby (excluding
+ # MI_example which is included in all ISAs by default). This
+ # reduces the number of generic tests we re-run for when
+ # compiling Ruby targets.
+ configs = [ "%s-ruby-%s" % (c, ruby_protocol) for c in configs ]
# /(quick|long)/(fs|se)/workload/ref/arch/guest/config/
for conf_script in configs:
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev