From af6e4bf96aeb3f13ddf4ed7cbbd340ea2b46e658 Mon Sep 17 00:00:00 2001 From: Steve Reinhardt Date: Tue, 13 Nov 2007 18:45:51 -0800 Subject: Add -k flag to util/regress. --HG-- extra : convert_revision : 6dae828a1b6a254821095a1743325976202beec1 --- util/regress | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'util') 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))) -- cgit v1.2.3