From 78a72d69727273d7ccc844bc05d080341bf9d7fa Mon Sep 17 00:00:00 2001 From: Nilay Vaish Date: Thu, 7 Jun 2012 08:05:30 -0500 Subject: Config: changes to a couple of error msgs --- configs/common/Benchmarks.py | 4 ++-- configs/example/fs.py | 2 +- 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) -- cgit v1.2.3