summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2012-06-07 08:05:30 -0500
committerNilay Vaish <nilay@cs.wisc.edu>2012-06-07 08:05:30 -0500
commit78a72d69727273d7ccc844bc05d080341bf9d7fa (patch)
tree5752acf2e02a00000e4eec10e8274d1e4d4702d8
parentd6da3ff3175c54ba904f6e561bd4b23f52ddf84d (diff)
downloadgem5-78a72d69727273d7ccc844bc05d080341bf9d7fa.tar.xz
Config: changes to a couple of error msgs
-rw-r--r--configs/common/Benchmarks.py4
-rw-r--r--configs/example/fs.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/configs/common/Benchmarks.py b/configs/common/Benchmarks.py
index d881fafb0..bf8b84f17 100644
--- a/configs/common/Benchmarks.py
+++ b/configs/common/Benchmarks.py
@@ -58,9 +58,9 @@ class SysConfig:
elif buildEnv['TARGET_ISA'] == 'arm':
return env.get('LINUX_IMAGE', disk('linux-arm-ael.img'))
else:
- print "Don't know what default disk image to use for ISA %s" % \
+ print "Don't know what default disk image to use for %s ISA" % \
buildEnv['TARGET_ISA']
- sys.exit(1)
+ exit(1)
# Benchmarks are defined as a key in a dict which is a list of SysConfigs
# The first defined machine is the test system, the others are driving systems
diff --git a/configs/example/fs.py b/configs/example/fs.py
index 33dc63af4..a85491c91 100644
--- a/configs/example/fs.py
+++ b/configs/example/fs.py
@@ -107,7 +107,7 @@ elif buildEnv['TARGET_ISA'] == "arm":
bare_metal=options.bare_metal)
Simulation.setWorkCountOptions(test_sys, options)
else:
- fatal("incapable of building non-alpha or non-sparc full system!")
+ fatal("Incapable of building %s full system!", buildEnv['TARGET_ISA'])
if options.kernel is not None:
test_sys.kernel = binary(options.kernel)