We should now send the correct list of dejagnu tests instead of the csv file of test results when we submit results back to the nightly tester.

llvm-svn: 29523
This commit is contained in:
Patrick Jenkins 2006-08-04 17:40:54 +00:00
parent 661f62625a
commit 8c2b8f3b0b
1 changed files with 5 additions and 1 deletions

View File

@ -877,6 +877,7 @@ if (!$BuildError) {
############################################################## ##############################################################
my $dejagnu = ReadFile $DejagnuSum; my $dejagnu = ReadFile $DejagnuSum;
my @DEJAGNU = split "\n", $dejagnu; my @DEJAGNU = split "\n", $dejagnu;
my $dejagnu_test_list="";
my $passes="", my $passes="",
my $fails=""; my $fails="";
@ -886,12 +887,15 @@ if(!$NODEJAGNU) {
for($x=0; $x<@DEJAGNU; $x++){ for($x=0; $x<@DEJAGNU; $x++){
if($DEJAGNU[$x] =~ m/^PASS:/){ if($DEJAGNU[$x] =~ m/^PASS:/){
$passes.="$DEJAGNU[$x]\n"; $passes.="$DEJAGNU[$x]\n";
$dejagnu_test_list="$DEJAGNU[$x]\n";
} }
elsif($DEJAGNU[$x] =~ m/^FAIL:/){ elsif($DEJAGNU[$x] =~ m/^FAIL:/){
$fails.="$DEJAGNU[$x]\n"; $fails.="$DEJAGNU[$x]\n";
$dejagnu_test_list="$DEJAGNU[$x]\n";
} }
elsif($DEJAGNU[$x] =~ m/^XFAIL:/){ elsif($DEJAGNU[$x] =~ m/^XFAIL:/){
$xfails.="$DEJAGNU[$x]\n"; $xfails.="$DEJAGNU[$x]\n";
$dejagnu_test_list="$DEJAGNU[$x]\n";
} }
} }
} }
@ -1025,7 +1029,7 @@ my %hash_of_data = ('machine_data' => $machine_data,
'passing_tests' => $passes, 'passing_tests' => $passes,
'expfail_tests' => $xfails, 'expfail_tests' => $xfails,
'unexpfail_tests' => $fails, 'unexpfail_tests' => $fails,
'all_tests' => $all_tests, 'all_tests' => $dejagnu_test_list,
'new_tests' => "", 'new_tests' => "",
'removed_tests' => "", 'removed_tests' => "",
'dejagnutests_log' => $dejagnutests_log, 'dejagnutests_log' => $dejagnutests_log,