Added -test-opts to specify test options.

llvm-svn: 43971
This commit is contained in:
Evan Cheng 2007-11-10 01:33:27 +00:00
parent 5f898a044f
commit c6287abec9

View File

@ -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; }