[llvm-commits] CVS: nightlytest-serverside/SQLUtil.php

Jim Laskey jlaskey at apple.com
Wed Sep 20 05:05:53 PDT 2006



Changes in directory nightlytest-serverside:

SQLUtil.php updated: 1.1 -> 1.2
---
Log message:

Clean up test records #2

---
Diffs of the changes:  (+5 -2)

 SQLUtil.php |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)


Index: nightlytest-serverside/SQLUtil.php
diff -u nightlytest-serverside/SQLUtil.php:1.1 nightlytest-serverside/SQLUtil.php:1.2
--- nightlytest-serverside/SQLUtil.php:1.1	Wed Sep 20 06:57:25 2006
+++ nightlytest-serverside/SQLUtil.php	Wed Sep 20 07:05:38 2006
@@ -24,8 +24,11 @@
     if (preg_match("/(.*)\/llvm\/test\/(.*)/", $old, $subpatterns)) {
       list($ignore, $before, $after) = $subpatterns;
       $new = "test/".$after;
-      print "OLD: $old<BR>\n";
-      print "NEW: $new<BR><BR>\n";
+      $result = $row['result'];
+      $measure = $row['measure'];
+      $night =  $row['night'];
+      $set_query = "UPDATE tests SET program=\"$new\" WHERE night=$night AND program=\"$old\" AND result=\"$result\" AND measure=\"$measure\"";
+      print "$set_query<BR>\n";
       $count =  $count + 1;
       if ($count > 100) {
         break;






More information about the llvm-commits mailing list