Skip to content

Commit d076e2c

Browse files
author
Andrew Lenharth
committed
numberic sort should not generate errors in perl, and remove dsa tests
git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@36478 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 6b658d6 commit d076e2c

6 files changed

+4
-546
lines changed

GenerateReport.pl

+4-1
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,10 @@ sub AddColumns {
185185
# Sort table now...
186186
#
187187
if ($SortNumeric) {
188-
@Values = sort { $a->[$SortCol] <=> $b->[$SortCol] } @Values;
188+
@Values = sort { $lhs = $a->[$SortCol]; $rhs = $b->[$SortCol];
189+
$lhs = 0 if ($lhs eq "*");
190+
$rhs = 0 if ($rhs eq "*");
191+
$lhs <=> $rhs } @Values;
189192
} else {
190193
@Values = sort { $a->[$SortCol] cmp $b->[$SortCol] } @Values;
191194
}

TEST.dsgraph.Makefile

-78
This file was deleted.

TEST.dsgraph.gnuplot

-70
This file was deleted.

TEST.dsgraph.report

-164
This file was deleted.

0 commit comments

Comments
 (0)