[llvm-commits] CVS: llvm/test/Programs/TEST.nightly.report

Chris Lattner lattner at cs.uiuc.edu
Thu Aug 28 10:51:02 PDT 2003


Changes in directory llvm/test/Programs:

TEST.nightly.report updated: 1.13 -> 1.14

---
Log message:

Add support for the funny sparc syntax for time


---
Diffs of the changes:

Index: llvm/test/Programs/TEST.nightly.report
diff -u llvm/test/Programs/TEST.nightly.report:1.13 llvm/test/Programs/TEST.nightly.report:1.14
--- llvm/test/Programs/TEST.nightly.report:1.13	Mon Aug 18 10:19:13 2003
+++ llvm/test/Programs/TEST.nightly.report	Thu Aug 28 10:50:29 2003
@@ -12,7 +12,7 @@
 # FormatTime - Convert a time from 1m23.45 into 83.45
 sub FormatTime {
   my $Time = shift;
-  if ($Time =~ m/([0-9]+)m([0-9.]+)/) {
+  if ($Time =~ m/([0-9]+)[m:]([0-9.]+)/) {
     $Time = sprintf("%7.4f", $1*60.0+$2);
   }
   return $Time;





More information about the llvm-commits mailing list