summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)