diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2006-06-26 17:50:58 -0400 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2006-06-26 17:50:58 -0400 |
commit | a23f15641e44e55bbc4ff7350e5a7f812a941085 (patch) | |
tree | 4ab159a962aeb86b42bc1b0d1fbb95c4203e31a1 /configs | |
parent | 63bdaeedfae71aa9eab4716a884fad9d7c4ece54 (diff) | |
parent | 60454042aaf1c5b3380536c4a1d2255d8f648d7d (diff) | |
download | gem5-a23f15641e44e55bbc4ff7350e5a7f812a941085.tar.xz |
Merge zizzer:/bk/newmem
into zeep.eecs.umich.edu:/z/saidi/work/m5.newmem
--HG--
extra : convert_revision : 39c99c8acadd43f3ec42ae7550289a5075d910e4
Diffstat (limited to 'configs')
-rw-r--r-- | configs/test/test.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/configs/test/test.py b/configs/test/test.py index 48d43cee9..2047d65af 100644 --- a/configs/test/test.py +++ b/configs/test/test.py @@ -12,6 +12,8 @@ from FullO3Config import * parser = optparse.OptionParser(option_list=m5.standardOptions) parser.add_option("-c", "--cmd", default="hello") +parser.add_option("-o", "--options", default="") +parser.add_option("-i", "--input", default="") parser.add_option("-t", "--timing", action="store_true") parser.add_option("-d", "--detailed", action="store_true") parser.add_option("-m", "--maxtick", type="int") @@ -28,7 +30,9 @@ this_dir = os.path.dirname(__file__) process = LiveProcess() process.executable = os.path.join(this_dir, options.cmd) -process.cmd = options.cmd +process.cmd = options.cmd + " " + options.options +if options.input != "": + process.input = options.input magicbus = Bus() mem = PhysicalMemory() |