Added -test-opts to specify test options.
authorEvan Cheng <evan.cheng@apple.com>
Sat, 10 Nov 2007 01:33:27 +0000 (01:33 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Sat, 10 Nov 2007 01:33:27 +0000 (01:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43971 91177308-0d34-0410-b5e6-96231b3b80d8

utils/NewNightlyTest.pl

index 3def3902ed2d1c78272ad56c52a8255d2502d5e1..e433ac05fcac0167a149509597c3363f7a687a2d 100755 (executable)
@@ -152,6 +152,7 @@ while (scalar(@ARGV) and ($_ = $ARGV[0], /^[-+]/)) {
   if (/^-disable-jit$/)    { $PROGTESTOPTS .= " DISABLE_JIT=1";
                              $CONFIGUREARGS .= " --disable-jit"; next; }
   if (/^-disable-cbe$/)    { $PROGTESTOPTS .= " DISABLE_CBE=1"; next; }
+  if (/^-test-opts$/)      { $PROGTESTOPTS .= "$ARGV[0]"; shift; next; }
   if (/^-verbose$/)        { $VERBOSE = 1; next; }
   if (/^-debug$/)          { $DEBUG = 1; next; }
   if (/^-nice$/)           { $NICE = "nice "; next; }