aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-10-19 13:20:44 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-10-19 13:20:44 +0000
commitf41928152aad569778c5fd8066da19eaae636fee (patch)
tree3699526099f589b1ce294a1ec13975fecf212e17 /utils
parenta2b34e390409e9a8c33f603782d0b6ec4ec26c01 (diff)
downloadexternal_llvm-f41928152aad569778c5fd8066da19eaae636fee.zip
external_llvm-f41928152aad569778c5fd8066da19eaae636fee.tar.gz
external_llvm-f41928152aad569778c5fd8066da19eaae636fee.tar.bz2
NNT: Fix refactoro, I dropped the list of all (llvm-test) tests. I'm sure it was named dejagnu_test_list for a good reason.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84495 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rwxr-xr-xutils/NewNightlyTest.pl13
1 files changed, 7 insertions, 6 deletions
diff --git a/utils/NewNightlyTest.pl b/utils/NewNightlyTest.pl
index a8095dd..affc826 100755
--- a/utils/NewNightlyTest.pl
+++ b/utils/NewNightlyTest.pl
@@ -595,7 +595,7 @@ sub TestDirectory {
return ($ProgramsTable, $LLCBetaOpts);
}
-# Run all the nightly tests and return the program tables and the number of
+# Run all the nightly tests and return the program tables and the list of tests,
# passes, fails, and xfails.
sub RunNightlyTest() {
($SSProgs, $llcbeta_options) = TestDirectory("SingleSource");
@@ -625,7 +625,8 @@ sub RunNightlyTest() {
}
# Compile passes, fails, xfails.
- my @TestSuiteResultLines = split "\n", (ReadFile "$Prefix-Tests.txt");
+ my $All = (ReadFile "$Prefix-Tests.txt");
+ my @TestSuiteResultLines = split "\n", $All;
my ($Passes, $Fails, $XFails) = "";
for ($x=0; $x < @TestSuiteResultLines; $x++) {
@@ -640,7 +641,7 @@ sub RunNightlyTest() {
}
}
- return ($SSProgs, $MSProgs, $ExtProgs, $Passes, $Fails, $XFails);
+ return ($SSProgs, $MSProgs, $ExtProgs, $All, $Passes, $Fails, $XFails);
}
##############################################################
@@ -677,10 +678,10 @@ if (!$NODEJAGNU && !$BuildError) {
# Run the llvm-test tests.
my ($SingleSourceProgramsTable, $MultiSourceProgramsTable, $ExternalProgramsTable,
- $passes, $fails, $xfails) = "";
+ $all_tests, $passes, $fails, $xfails) = "";
if (!$NOTEST && !$BuildError) {
($SingleSourceProgramsTable, $MultiSourceProgramsTable, $ExternalProgramsTable,
- $passes, $fails, $xfails) = RunNightlyTest();
+ $all_tests, $passes, $fails, $xfails) = RunNightlyTest();
}
$endtime = `date "+20%y-%m-%d %H:%M:%S"`;
@@ -791,7 +792,7 @@ my %hash_of_data = (
'passing_tests' => $passes,
'expfail_tests' => $xfails,
'unexpfail_tests' => $fails,
- 'all_tests' => $dejagnu_test_list,
+ 'all_tests' => $all_tests,
'new_tests' => "",
'removed_tests' => "",
'dejagnutests_results' => $DejagnuTestResults,