Commit:    92789bde15d925a06c5518cb6890e6b9d37e456b
Author:    v-maf...@microsoft.com <v-maf...@microsoft.com>         Tue, 25 Mar 
2014 11:03:11 -0700
Parents:   c851607f55fef76f41337b53be5d0f9b80089b85
Branches:  master

Link:       
http://git.php.net/?p=web/qa.git;a=commitdiff;h=92789bde15d925a06c5518cb6890e6b9d37e456b

Log:
Fixing run_tests.php (sorry I broke it)

Changed paths:
  M  reports/run_tests.php


Diff:
diff --git a/reports/run_tests.php b/reports/run_tests.php
index c373271..1b80a47 100644
--- a/reports/run_tests.php
+++ b/reports/run_tests.php
@@ -93,7 +93,7 @@ common_header();
 <script src="sorttable.js"></script>
 <div style="margin:10px">
 
-<h1><a href="/reports/">
+<h1><a href="run_tests.php">
 <img title="Go back home" src="home.png" border="0" 
style="vertical-align:middle;" /></a>
 <?php echo $TITLE; ?></h1>
 
@@ -121,7 +121,7 @@ foreach ($reportsPerVersion as $version => $line) {
     }
     if ($maxReportDate < strtotime($line['lastReport'])) $maxReportDate = 
strtotime($line['lastReport']);
     echo '<tr>';
-    echo '<td><a href="./?version='.$version.'">'.$version.'</a></td>';
+    echo '<td><a 
href="run_tests.php?version='.$version.'">'.$version.'</a></td>';
     echo '<td align="right">'.$line['nbReports'].'</td>';
     echo '<td align="right">'.$line['nbFailingTests'].'</td>';
     echo '<td align="right">'.$line['nbFailures'].'</td>';
@@ -133,8 +133,8 @@ foreach ($reportsPerVersion as $version => $line) {
 ?>
 </tbody>
 </table>
-<p>(<a href="./?summary_filter=0">Show all versions</a> |
-    <a href="./?summary_filter=<?php echo QA_REPORT_FILTER_ALL; ?>">Show 
stable and current dev only</a>)</p>
+<p>(<a href="run_tests.php?summary_filter=0">Show all versions</a> |
+    <a href="run_tests.php?summary_filter=<?php echo QA_REPORT_FILTER_ALL; 
?>">Show stable and current dev only</a>)</p>
 <?php 
 } else { /* $getVersion */
 ?>
@@ -149,9 +149,9 @@ function changeExpect()
 {
     var check = document.getElementById('expect').checked;
     if (check == true) {
-        document.location.href = '?version=<?php echo $getVersion; 
?>&expect=1';
+        document.location.href = 'run_tests.php?version=<?php echo 
$getVersion; ?>&expect=1';
     } else {
-        document.location.href = '?version=<?php echo $getVersion; ?>';
+        document.location.href = 'run_tests.php?version=<?php echo 
$getVersion; ?>';
     }
 }
 // ->
@@ -227,10 +227,10 @@ function changeExpect()
 <?php
     if (count($failedTestsArray) >= $limit) {
         echo '<i>There are more failing tests ';
-        echo '(<a href="?version=' . $getVersion . '&limit=1000">view 
all)</i>';
+        echo '(<a href="run_tests.php?version=' . $getVersion . 
'&limit=1000">view all)</i>';
     } else {
         echo '<i>View only the most common failed tests ';
-        echo '(<a href="?version=' . $getVersion . '&limit=50">view 50)</i>';
+        echo '(<a href="run_tests.php?version=' . $getVersion . 
'&limit=50">view 50)</i>';
     }
 } 
 ?>


--
PHP Quality Assurance Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to