diff options
author | Steve Reinhardt <stever@gmail.com> | 2007-11-13 18:45:51 -0800 |
---|---|---|
committer | Steve Reinhardt <stever@gmail.com> | 2007-11-13 18:45:51 -0800 |
commit | af6e4bf96aeb3f13ddf4ed7cbbd340ea2b46e658 (patch) | |
tree | 7ca43a6ce196a1f6aa33deb307dc7ae7d448a202 | |
parent | 5772e3cadaf12cf155e6ad0cb79a3b7333d1dd10 (diff) | |
download | gem5-af6e4bf96aeb3f13ddf4ed7cbbd340ea2b46e658.tar.xz |
Add -k flag to util/regress.
--HG--
extra : convert_revision : 6dae828a1b6a254821095a1743325976202beec1
-rwxr-xr-x | util/regress | 4 |
1 files changed, 4 insertions, 0 deletions
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))) |