driver: Sort results. Merge from dot.

This commit is contained in:
Wilson Snyder 2012-07-19 21:02:36 -04:00
parent b18690cbe2
commit 92809b95c9
2 changed files with 5 additions and 5 deletions

View File

@ -171,10 +171,10 @@ sub one_test {
$UnsupCnt++;
} else {
$test->oprint("FAILED: ","*"x60,"\n");
push @fails, "\t#".$test->soprint("%Error: $test->{errors}\n");
my $j = ($opt_jobs>1?" -j":"");
push @fails, "\t\tmake$j && test_regress/"
.$test->{pl_filename}." ".join(' ',@Orig_ARGV_Sw)."\n";
push @fails, ("\t#".$test->soprint("%Error: $test->{errors}\n")
."\t\tmake$j && test_regress/"
.$test->{pl_filename}." ".join(' ',@Orig_ARGV_Sw)."\n");
$FailCnt++;
report(\@fails, $Log_Filename);
my $other = "";
@ -256,7 +256,7 @@ sub report {
$fh->print("="x70,"\n");
$fh->printf("TESTS Passed $OkCnt Unsup $UnsupCnt Skipped $SkipCnt Failed $FailCnt Time %d:%02d\n",
int($delta/60),$delta%60);
foreach my $f (@$fails) {
foreach my $f (sort @$fails) {
chomp $f;
$fh->print("$f\n");
}

View File

@ -12,7 +12,7 @@ compile (
expect=>
'%Error: t/t_var_bad_sameas.v:\d+: Unsupported in C: Cell has the same name as variable: varfirst
%Error: t/t_var_bad_sameas.v:\d+: ... Location of original declaration
%Error: t/t_var_bad_sameas.v:\d+: Unsupported in C: Task has the same name as variable: varfirst
%Error: t/t_var_bad_sameas.v:\d+: Unsupported in C: Task has the same name as (variable|cell): varfirst
%Error: t/t_var_bad_sameas.v:\d+: ... Location of original declaration
%Error: t/t_var_bad_sameas.v:\d+: Unsupported in C: Variable has same name as cell: cellfirst
%Error: t/t_var_bad_sameas.v:\d+: Unsupported in C: Task has the same name as cell: cellfirst