Commit:    af6891a4a890156e301cec4be2da2a77f889e98a
Author:    v-maf...@microsoft.com <v-maf...@microsoft.com>         Mon, 24 Mar 
2014 11:16:37 -0700
Parents:   2f1fdcc2bff1e39131180aae0eaccb2ca045f3a2
Branches:  master

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

Log:
Show page specific titles

Changed paths:
  M  build.php
  M  howto_phpt.php
  M  howto_phpunit.php
  M  include/functions.php
  M  list_builds.php
  M  pftt.php


Diff:
diff --git a/build.php b/build.php
index 8bf4b7a..ed9a571 100755
--- a/build.php
+++ b/build.php
@@ -19,7 +19,7 @@ $TITLE = "PHP: QA: PFTT: $branch: $revision";
 $SITE_UPDATE = date("D M d H:i:s Y T", filectime(__FILE__));
 /* $Id$ */
 
-common_header();
+common_header(NULL, $TITLE);
 
 
 
diff --git a/howto_phpt.php b/howto_phpt.php
index 4ba943f..2c7a134 100644
--- a/howto_phpt.php
+++ b/howto_phpt.php
@@ -6,13 +6,13 @@ $TITLE = "PHP: QA: PFTT";
 $SITE_UPDATE = date("D M d H:i:s Y T", filectime(__FILE__));
 /* $Id$ */
 
-common_header();
+common_header(NULL, $TITLE);
 
 ?>
 
 <img src="howto_phpt.png" />
 
-<p><strong>PFTT Command</strong> - Run this command in the <b>PFTT Shell</b> 
to reproduce the same tests. Use the `<b>rg</b>` command to get the same 
release if you don't already have it. Download and install PFTT from <a 
href="https://github.com/OSTC/PFTT2"; 
target="_blank">https://github.com/OSTC/PFTT2</a>.</p>
+<p><strong>PFTT Command</strong> - Run this command in the <b>PFTT Shell</b> 
to reproduce the same tests. Use the `<b>rg</b>` command to get the same 
release if you don't already have it. Download and install PFTT from <a 
href="http://qa.php.net/pftt.php"; 
target="_blank">http://qa.php.net/pftt.php</a>.</p>
 
 <p><strong>Scenario Set</strong> - Scenarios that are tested (CLI, Apache 
mod_php ; Opcache, Filesystem, etc...)</p>
 
@@ -24,7 +24,7 @@ common_header();
 
 <p>Report compares ERROR, FAILURE, TIMEOUT, CRASH and PASS for two PHP Builds, 
the <strong>Base Build</strong> with the <strong>Test Build</strong>. A +X 
indicates the count increased from Base to Test. A -X indicates the count 
decreased from Base to Test. If the difference is <font 
color="green">good</font>, it is shown in <font color="green">green</font> (fe 
increase in PASS, decrease in FAIL). If the difference is <font 
color="red">bad</font>, it is shown in <font color="red">red</font> (fe 
increase in FAIL).</p>
 
-<p><a 
href="https://github.com/OSTC/PFTT2/blob/master/src/com/mostc/pftt/model/core/EPhptTestStatus.java";
 target="_blank">Full info on PHPT Test Statuses</a></p>
+<p><a 
href="http://git.php.net/?p=pftt2.git;a=blob;f=src/com/mostc/pftt/model/core/EPhptTestStatus.java;h=9c0e00a92b05e1f0bd21601e197ccb4466e2b6d4;hb=HEAD";
 target="_blank">Full info on PHPT Test Statuses</a></p>
 
 <p><strong>Result-Pack</strong> All the test logs are compressed into 
result-packs, which can be downloaded using the two links in the report.</p>
 
diff --git a/howto_phpunit.php b/howto_phpunit.php
index c632421..f7ccc69 100644
--- a/howto_phpunit.php
+++ b/howto_phpunit.php
@@ -6,7 +6,7 @@ $TITLE = "PHP: QA: PFTT";
 $SITE_UPDATE = date("D M d H:i:s Y T", filectime(__FILE__));
 /* $Id$ */
 
-common_header();
+common_header(NULL, $TITLE);
 
 ?>
 
@@ -22,7 +22,7 @@ common_header();
 
 <p>Report compares ERROR, FAILURE, TIMEOUT, CRASH and PASS for two PHP Builds, 
the <strong>Base Build</strong> with the <strong>Test Build</strong>. A +X 
indicates the count increased from Base to Test. A -X indicates the count 
decreased from Base to Test. If the difference is <font 
color="green">good</font>, it is shown in <font color="green">green</font> (fe 
increase in PASS, decrease in ERROR). If the difference is <font 
color="red">bad</font>, it is shown in <font color="red">red</font> (fe 
increase in FAILURE).</p>
 
-<p><a 
href="https://github.com/OSTC/PFTT2/blob/master/src/com/mostc/pftt/model/app/EPhpUnitTestStatus.java";
 target="_blank">Full Info on PFTT's PHPUnit Test Statuses</a></p>
+<p><a 
href="http://git.php.net/?p=pftt2.git;a=blob;f=src/com/mostc/pftt/model/app/EPhpUnitTestStatus.java;h=31aa09ba8ee577603af9f22d94f78c0ff830c038;hb=HEAD";
 target="_blank">Full Info on PFTT's PHPUnit Test Statuses</a></p>
 
 <p><strong>Result-Pack</strong> All the test logs are compressed into 
result-packs, which can be downloaded using the two links in the report.</p>
 
diff --git a/include/functions.php b/include/functions.php
index 05168bb..7501c1b 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -6,11 +6,10 @@ Read an Learn. Any Questions so ask.
 Version: $Id$
 */
 
-function common_header($extra_headers=NULL) {
+function common_header($extra_headers=NULL, $TITLE = "Quality Assurance") {
     if ($extra_headers) {
         $HEAD_RAND = join("\n", $extra_headers);
     }
-    $TITLE = "Quality Assurance";
     $SUBDOMAIN = "QA";
     $CSS = array("/styles/qa.css");
     $LINKS = array(
diff --git a/list_builds.php b/list_builds.php
index 3c0c464..a525c8f 100755
--- a/list_builds.php
+++ b/list_builds.php
@@ -13,7 +13,7 @@ $TITLE = "PHP: QA: PFTT: $branch";
 $SITE_UPDATE = date("D M d H:i:s Y T", filectime(__FILE__));
 /* $Id$ */
 
-common_header();
+common_header(NULL, $TITLE);
 
 
 // TODO include info about PFTT, link to download build of PFTT
diff --git a/pftt.php b/pftt.php
index b28e922..933ee36 100755
--- a/pftt.php
+++ b/pftt.php
@@ -6,7 +6,7 @@ $TITLE = "PHP: QA: PFTT";
 $SITE_UPDATE = date("D M d H:i:s Y T", filectime(__FILE__));
 /* $Id$ */
 
-common_header();
+common_header(NULL, $TITLE);
 
 define('BASE_REPORT_DIR', dirname($_SERVER['SCRIPT_FILENAME'])."/reports/db/");


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

Reply via email to