Allow an option, -with-externals, to be specified that provides the location
authorReid Spencer <rspencer@reidspencer.com>
Fri, 14 Apr 2006 13:53:56 +0000 (13:53 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Fri, 14 Apr 2006 13:53:56 +0000 (13:53 +0000)
of the external tests. This turns into --with-externals option to configure.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27700 91177308-0d34-0410-b5e6-96231b3b80d8

utils/NightlyTest.pl

index f2a8de0bc577c4838a31f971f3e325c5532aacb6..45ebad93037640ca25fd3cafa7ea29d1d073fa53 100755 (executable)
@@ -19,6 +19,7 @@
 #                   LARGE_PROBLEM_SIZE enabled.
 #  -noexternals     Do not run the external tests (for cases where povray
 #                   or SPEC are not installed)
+#  -with-externals  Specify a directory where the external tests are located.
 #  -nodejagnu       Do not run feature or regression tests
 #  -parallel        Run two parallel jobs with GNU Make.
 #  -release         Build an LLVM Release version
@@ -310,6 +311,9 @@ while (scalar(@ARGV) and ($_ = $ARGV[0], /^[-+]/)) {
   if (/^-f2c$/)            {
     $CONFIGUREARGS .= " --with-f2c=$ARGV[0]"; shift; next;
   }
+  if (/^-with-externals/)  { 
+    $CONFIGUREARGS .= "--with-externals=$ARGV[0]"; shift; next 
+  }
   if (/^-gnuplotscript$/)  { $PlotScriptFilename = $ARGV[0]; shift; next; }
   if (/^-templatefile$/)   { $Template = $ARGV[0]; shift; next; }
   if (/^-gccpath/)         {