diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2003-08-14 15:26:28 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2003-08-14 15:26:28 +0000 |
commit | 8e9554a8e5bf5cece8c84204e35f66c2361900eb (patch) | |
tree | 8c85022fae93d0a0dfeaefd00f3f1df465511d28 /utils/NightlyTest.pl | |
parent | 640b9280d50dc09d68860faf7dd5d91eabb98681 (diff) | |
download | llvm-8e9554a8e5bf5cece8c84204e35f66c2361900eb.tar.gz llvm-8e9554a8e5bf5cece8c84204e35f66c2361900eb.tar.bz2 llvm-8e9554a8e5bf5cece8c84204e35f66c2361900eb.tar.xz |
* Enable SPEC testing in the `configure' script command line
* Switched from using `m||' to `m##' because VIM mis-highlights `m||'
* Simplified the regex getting the file version number
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7842 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/NightlyTest.pl')
-rwxr-xr-x | utils/NightlyTest.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/NightlyTest.pl b/utils/NightlyTest.pl index cf263a1f0a..a982114d09 100755 --- a/utils/NightlyTest.pl +++ b/utils/NightlyTest.pl @@ -151,7 +151,7 @@ $LOC = GetRegex "([0-9]+) +total", `wc -l \`utils/getsrcs.sh\` | grep total`; # Build the entire tree, saving build messages to the build log # if (!$NOCHECKOUT) { - system "(time -p ./configure --enable-jit --with-objroot=.) > $Prefix-Build-Log.txt 2>&1"; + system "(time -p ./configure --enable-jit --enable-spec --with-objroot=.) > $Prefix-Build-Log.txt 2>&1"; # Build the entire tree, capturing the output into $Prefix-Build-Log.txt system "(time -p gmake $MAKEOPTS) >> $Prefix-Build-Log.txt 2>&1"; @@ -186,7 +186,7 @@ my $CurDir = ""; foreach $Warning (@Warn) { if ($Warning =~ m/Entering directory \`([^\`]+)\'/) { $CurDir = $1; # Keep track of directory warning is in... - if ($CurDir =~ m|$BuildDir/llvm/(.*)|) { # Remove buildir prefix if included + if ($CurDir =~ m#$BuildDir/llvm/(.*)#) { # Remove buildir prefix if included $CurDir = $1; } } else { @@ -219,7 +219,7 @@ my $DateRE = "[-:0-9 ]+\\+[0-9]+"; # Loop over every record from the CVS history, filling in the hashes. foreach $File (@CVSHistory) { my ($Type, $Date, $UID, $Rev, $Filename); - if ($File =~ /([AMRUGC]) ($DateRE) ([^ ]+) +([0-9\.]+) +([^ ]+) +([^ ]+)/) { + if ($File =~ /([AMRUGC]) ($DateRE) ([^ ]+) +([^ ]+) +([^ ]+) +([^ ]+)/) { ($Type, $Date, $UID, $Rev, $Filename) = ($1, $2, $3, $4, "$6/$5"); } elsif ($File =~ /([W]) ($DateRE) ([^ ]+) +([^ ]+) +([^ ]+)/) { ($Type, $Date, $UID, $Rev, $Filename) = ($1, $2, $3, $4, "$6/$5"); |