From: Nilay Vaish Date: Thu, 7 Jun 2012 13:05:30 +0000 (-0500) Subject: Config: changes to a couple of error msgs X-Git-Tag: stable_2012_06_28~14 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=78a72d69727273d7ccc844bc05d080341bf9d7fa;p=gem5.git Config: changes to a couple of error msgs --- 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)