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 = split "\n", $dejagnu;
my $dejagnu_test_list="";
my $passes="",
my $fails="";
@ -886,12 +887,15 @@ if(!$NODEJAGNU) {
for($x=0; $x<@DEJAGNU; $x++){
if($DEJAGNU[$x] =~ m/^PASS:/){
$passes.="$DEJAGNU[$x]\n";
$dejagnu_test_list="$DEJAGNU[$x]\n";
}
elsif($DEJAGNU[$x] =~ m/^FAIL:/){
$fails.="$DEJAGNU[$x]\n";
$dejagnu_test_list="$DEJAGNU[$x]\n";
}
elsif($DEJAGNU[$x] =~ m/^XFAIL:/){
$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,
'expfail_tests' => $xfails,
'unexpfail_tests' => $fails,
'all_tests' => $all_tests,
'all_tests' => $dejagnu_test_list,
'new_tests' => "",
'removed_tests' => "",
'dejagnutests_log' => $dejagnutests_log,