From 2a56260d5d3216fe53517731107a87354e951514 Mon Sep 17 00:00:00 2001 From: Andreas Hansson Date: Wed, 30 Nov 2016 11:15:21 -0500 Subject: 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. --- tests/configs/memcheck.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tests/configs') diff --git a/tests/configs/memcheck.py b/tests/configs/memcheck.py index 21c8d7d4c..97f8d1369 100644 --- 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 -- cgit v1.2.3