projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd4b26b
)
tests: Check for TrafficGen as part of memcheck regression
author
Andreas Hansson
<andreas.hansson@arm.com>
Wed, 30 Nov 2016 16:15:21 +0000
(11:15 -0500)
committer
Andreas Hansson
<andreas.hansson@arm.com>
Wed, 30 Nov 2016 16:15:21 +0000
(11:15 -0500)
Since protobuf is still considered optional we do not always have the
TrafficGen. Check before running the memcheck regression.
tests/configs/memcheck.py
patch
|
blob
|
history
diff --git
a/tests/configs/memcheck.py
b/tests/configs/memcheck.py
index 21c8d7d4cf39d6ef6fcb7282acc2626837a4fa39..97f8d1369768158b5281a41ff5aa976b85be7ee7 100644
(file)
--- a/
tests/configs/memcheck.py
+++ b/
tests/configs/memcheck.py
@@
-39,6
+39,13
@@
# Authors: Jason Lowe-Power
# Andreas Hansson
+import m5
+from m5.objects import *
+
+# the traffic generator is only available if we have protobuf support,
+# so potentially skip this test
+require_sim_object("TrafficGen")
+
# A wrapper around configs/example/memcheck.py
# For some reason, this is implicitly needed by run.py