summaryrefslogtreecommitdiff
path: root/tests/quick/se/70.tgen
diff options
context:
space:
mode:
authorAndreas Sandberg <andreas.sandberg@arm.com>2016-06-20 14:49:37 +0100
committerAndreas Sandberg <andreas.sandberg@arm.com>2016-06-20 14:49:37 +0100
commitefb7fb6f852eeedc2cd226332372e7544eb011d7 (patch)
tree7e24c25bb0d53ec9258b1cce1365d14887d45b56 /tests/quick/se/70.tgen
parent2c91ccfbe8efc59bf838e681d43f289adf663225 (diff)
downloadgem5-efb7fb6f852eeedc2cd226332372e7544eb011d7.tar.xz
mem: Resolve TrafficGen trace relative to the config
The traffic generator currently resolves relative trace paths relative to gem5's current working directory. This can lead to surprising results for relative paths where the expectation would normally be that they are resolved relative to the configuration file. This changeset implements config-relative trace file lookups. The old behavior is kept as a fallback for configs that expect that behavior. Change-Id: I1bda4e16725842666ffc37dcb6838c23a6ff138c Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com> Reviewed-by: Curtis Dunham <curtis.dunham@arm.com>
Diffstat (limited to 'tests/quick/se/70.tgen')
-rw-r--r--tests/quick/se/70.tgen/tgen-simple-mem.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/quick/se/70.tgen/tgen-simple-mem.cfg b/tests/quick/se/70.tgen/tgen-simple-mem.cfg
index 326140ce2..c09fc2f44 100644
--- a/tests/quick/se/70.tgen/tgen-simple-mem.cfg
+++ b/tests/quick/se/70.tgen/tgen-simple-mem.cfg
@@ -19,7 +19,7 @@
# and random state is from a uniform random distribution over the
# interval. If a specific value is desired, then the min and max can
# be set to the same value.
-STATE 0 1000000 TRACE tests/quick/se/70.tgen/tgen-simple-mem.trc 100
+STATE 0 1000000 TRACE tgen-simple-mem.trc 100
STATE 1 100000000 RANDOM 0 0 134217728 64 30000 30000 0
STATE 2 1000000000 IDLE
STATE 3 100000000 LINEAR 0 0 134217728 64 30000 30000 0