tests: Check for TrafficGen as part of memcheck regression
Since protobuf is still considered optional we do not always have the TrafficGen. Check before running the memcheck regression.
This commit is contained in:
parent
cd4b26b6ae
commit
2a56260d5d
1 changed files with 7 additions and 0 deletions
|
@ -39,6 +39,13 @@
|
||||||
# Authors: Jason Lowe-Power
|
# Authors: Jason Lowe-Power
|
||||||
# Andreas Hansson
|
# 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
|
# A wrapper around configs/example/memcheck.py
|
||||||
|
|
||||||
# For some reason, this is implicitly needed by run.py
|
# For some reason, this is implicitly needed by run.py
|
||||||
|
|
Loading…
Reference in a new issue