se.py (6981:aba5f7216636) | se.py (7787:af976dd0c6e7) |
---|---|
1# Copyright (c) 2006-2008 The Regents of The University of Michigan 2# All rights reserved. 3# 4# Redistribution and use in source and binary forms, with or without 5# modification, are permitted provided that the following conditions are 6# met: redistributions of source code must retain the above copyright 7# notice, this list of conditions and the following disclaimer; 8# redistributions in binary form must reproduce the above copyright --- 45 unchanged lines hidden (view full) --- 54config_path = os.path.dirname(os.path.abspath(__file__)) 55config_root = os.path.dirname(config_path) 56m5_root = os.path.dirname(config_root) 57 58parser = optparse.OptionParser() 59 60# Benchmark options 61parser.add_option("-c", "--cmd", | 1# Copyright (c) 2006-2008 The Regents of The University of Michigan 2# All rights reserved. 3# 4# Redistribution and use in source and binary forms, with or without 5# modification, are permitted provided that the following conditions are 6# met: redistributions of source code must retain the above copyright 7# notice, this list of conditions and the following disclaimer; 8# redistributions in binary form must reproduce the above copyright --- 45 unchanged lines hidden (view full) --- 54config_path = os.path.dirname(os.path.abspath(__file__)) 55config_root = os.path.dirname(config_path) 56m5_root = os.path.dirname(config_root) 57 58parser = optparse.OptionParser() 59 60# Benchmark options 61parser.add_option("-c", "--cmd", |
62 default=joinpath(m5_root, "tests/test-progs/hello/bin/alpha/linux/hello"), | 62 default=joinpath(m5_root, "tests/test-progs/hello/bin/%s/linux/hello" % \ 63 buildEnv['TARGET_ISA']), |
63 help="The binary to run in syscall emulation mode.") 64parser.add_option("-o", "--options", default="", 65 help='The options to pass to the binary, use " " around the entire string') 66parser.add_option("-i", "--input", default="", help="Read stdin from a file.") 67parser.add_option("--output", default="", help="Redirect stdout to a file.") 68parser.add_option("--errout", default="", help="Redirect stderr to a file.") 69 70execfile(os.path.join(config_root, "common", "Options.py")) --- 90 unchanged lines hidden --- | 64 help="The binary to run in syscall emulation mode.") 65parser.add_option("-o", "--options", default="", 66 help='The options to pass to the binary, use " " around the entire string') 67parser.add_option("-i", "--input", default="", help="Read stdin from a file.") 68parser.add_option("--output", default="", help="Redirect stdout to a file.") 69parser.add_option("--errout", default="", help="Redirect stderr to a file.") 70 71execfile(os.path.join(config_root, "common", "Options.py")) --- 90 unchanged lines hidden --- |