summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2005-04-17 00:41:50 -0400
committerSteve Reinhardt <stever@eecs.umich.edu>2005-04-17 00:41:50 -0400
commit535cfaa01e0234e224e588e753419d8777e22d0b (patch)
treef065aaf5c08aa2db78ace7dda7ad83e3d48e5f8f /test
parent26df1a96c966d00cdcfbbcae239b0c77c24473e2 (diff)
downloadgem5-535cfaa01e0234e224e588e753419d8777e22d0b.tar.xz
Mostly hacks for multiplying Frequency-type proxies by constants
(plus some small fixes). python/m5/config.py: Hacks to allow multiplication on Frequency/Latency-valued proxies. Provide __rmul__ as well as __mul__ on Proxy objects. test/genini.py: Default value for -EFOO should be True not 1 (since 1 is no longer convertable to Bool). --HG-- extra : convert_revision : f8a221fcd9e095fdd7b7db4be0ed0cdcd20074be
Diffstat (limited to 'test')
-rwxr-xr-xtest/genini.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/genini.py b/test/genini.py
index b8eda5d46..d04f049ea 100755
--- a/test/genini.py
+++ b/test/genini.py
@@ -44,7 +44,7 @@ try:
offset = arg.find('=')
if offset == -1:
name = arg
- value = '1'
+ value = 'True'
else:
name = arg[:offset]
value = arg[offset+1:]