Jason Lowe-Power has uploaded this change for review. (
https://gem5-review.googlesource.com/10121
Change subject: tests: Add explicit build test
......................................................................
tests: Add explicit build test
Change-Id: Ia613ab580b880a463c9cf0dd63f61497db31fe75
Signed-off-by: Jason Lowe-Power <ja...@lowepower.com>
---
A tests/gem5/test-build/test_build.py
1 file changed, 24 insertions(+), 0 deletions(-)
diff --git a/tests/gem5/test-build/test_build.py
b/tests/gem5/test-build/test_build.py
new file mode 100644
index 0000000..e991eed
--- /dev/null
+++ b/tests/gem5/test-build/test_build.py
@@ -0,0 +1,24 @@
+'''
+Test file for simply building gem5
+'''
+import re
+import os
+from testlib import *
+
+functions = []
+for isa in constants.supported_isas:
+ for variant in constants.supported_variants:
+
+ tags = {
+ constants.isa_tag_type: set([isa]),
+ constants.variant_tag_type: set([variant]),
+ constants.length_tag_type: set([constants.quick_tag]),
+ }
+
+ name = 'build-{isa}-{var}'.format(isa=isa, var=variant)
+ fixture = Gem5Fixture(isa, variant, tags=tags)
+
+ function = TestFunction(lambda fixtures: True, name,
+ fixtures=[fixture])
+
+ TestSuite(name, [function], tags=tags, fail_fast=True)
--
To view, visit https://gem5-review.googlesource.com/10121
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-Change-Id: Ia613ab580b880a463c9cf0dd63f61497db31fe75
Gerrit-Change-Number: 10121
Gerrit-PatchSet: 1
Gerrit-Owner: Jason Lowe-Power <ja...@lowepower.com>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list
gem5-dev@gem5.org
http://m5sim.org/mailman/listinfo/gem5-dev