aboutsummaryrefslogtreecommitdiffstats
path: root/utils/NewNightlyTest.pl
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-10-19 09:19:19 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-10-19 09:19:19 +0000
commit0e9fe69ae8f33f9369548ff5364110c84025e777 (patch)
treefc4f59fbbfdc45155c7b5ae39f61c2f6280eb6d3 /utils/NewNightlyTest.pl
parent7c9eb9ebabee844524f2ebecbb5aacc83cc5e24f (diff)
downloadexternal_llvm-0e9fe69ae8f33f9369548ff5364110c84025e777.zip
external_llvm-0e9fe69ae8f33f9369548ff5364110c84025e777.tar.gz
external_llvm-0e9fe69ae8f33f9369548ff5364110c84025e777.tar.bz2
NNT: Remove hard coded BuildDir and WebDir, users should have to specify these.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84481 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/NewNightlyTest.pl')
-rwxr-xr-xutils/NewNightlyTest.pl21
1 files changed, 10 insertions, 11 deletions
diff --git a/utils/NewNightlyTest.pl b/utils/NewNightlyTest.pl
index 7453caf..08de84b 100755
--- a/utils/NewNightlyTest.pl
+++ b/utils/NewNightlyTest.pl
@@ -112,9 +112,7 @@ $SVNURL = 'http://llvm.org/svn/llvm-project' unless $SVNURL;
my $TestSVNURL = $ENV{"TestSVNURL"};
$TestSVNURL = 'http://llvm.org/svn/llvm-project' unless $TestSVNURL;
my $BuildDir = $ENV{'BUILDDIR'};
-$BuildDir = "$HOME/buildtest" unless $BuildDir;
my $WebDir = $ENV{'WEBDIR'};
-$WebDir = "$HOME/cvs/testresults-X86" unless $WebDir;
my $LLVMSrcDir = $ENV{'LLVMSRCDIR'};
$LLVMSrcDir = "$BuildDir/llvm" unless $LLVMSrcDir;
@@ -221,10 +219,6 @@ while (scalar(@ARGV) and ($_ = $ARGV[0], /^[-+]/)) {
print "Unknown option: $_ : ignoring!\n";
}
-if (!($CONFIG_PATH eq "")) {
- die "error: -config mode is not yet implemented,";
-}
-
if ($ENV{'LLVMGCCDIR'}) {
$CONFIGUREARGS .= " --with-llvmgccdir=" . $ENV{'LLVMGCCDIR'};
$LLVMGCCPATH = $ENV{'LLVMGCCDIR'} . '/bin';
@@ -237,14 +231,15 @@ if ($CONFIGUREARGS !~ /--disable-jit/) {
$CONFIGUREARGS .= " --enable-jit";
}
-if (@ARGV != 0 and @ARGV != 3 and $VERBOSE) {
- foreach $x (@ARGV) {
- print "$x\n";
- }
- print "Must specify 0 or 3 options!";
+if (@ARGV != 0 and @ARGV != 3) {
+ die "error: must specify 0 or 3 options!";
}
if (@ARGV == 3) {
+ if ($CONFIG_PATH ne "") {
+ die "error: arguments are unsupported in -config mode,";
+ }
+
# ARGV[0] used to be the CVS root, ignored for backward compatibility.
$BuildDir = $ARGV[1];
$WebDir = $ARGV[2];
@@ -264,6 +259,10 @@ if ($BUILDTYPE ne "release" && $BUILDTYPE ne "release-asserts") {
$BUILDTYPE = "debug";
}
+if ($CONFIG_PATH ne "") {
+ die "error: -config mode is not yet implemented,";
+}
+
##############################################################
#
# Define the file names we'll use