Configs: Automatically choose the correct hello world binary.

This commit is contained in:
Ali Saidi 2010-12-07 16:19:57 -08:00
parent 42ba158479
commit 18555c1b56

View file

@ -59,7 +59,8 @@ parser = optparse.OptionParser()
# Benchmark options
parser.add_option("-c", "--cmd",
default=joinpath(m5_root, "tests/test-progs/hello/bin/alpha/linux/hello"),
default=joinpath(m5_root, "tests/test-progs/hello/bin/%s/linux/hello" % \
buildEnv['TARGET_ISA']),
help="The binary to run in syscall emulation mode.")
parser.add_option("-o", "--options", default="",
help='The options to pass to the binary, use " " around the entire string')