From: Steve Reinhardt Date: Wed, 14 Nov 2007 02:45:51 +0000 (-0800) Subject: Add -k flag to util/regress. X-Git-Tag: m5_2.0_beta5~84^2~3 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=af6e4bf96aeb3f13ddf4ed7cbbd340ea2b46e658;p=gem5.git Add -k flag to util/regress. --HG-- extra : convert_revision : 6dae828a1b6a254821095a1743325976202beec1 --- diff --git a/util/regress b/util/regress index 034201317..0686372b3 100755 --- a/util/regress +++ b/util/regress @@ -52,6 +52,8 @@ optparser.add_option('--scons-opts', dest='scons_opts', default='', help='scons options', metavar='OPTS') optparser.add_option('-j', '--jobs', type='int', default=1, help='number of parallel jobs to use') +optparser.add_option('-k', '--keep-going', action='store_true', + help='keep going after errors') (options, tests) = optparser.parse_args() @@ -105,6 +107,8 @@ else: scons_opts = options.scons_opts if options.jobs != 1: scons_opts += ' -j %d' % options.jobs +if options.keep_going: + scons_opts += ' -k' system('scons IGNORE_STYLE=True %s %s' % (scons_opts, ' '.join(targets)))