com web/qa: Publish PFTT reports: list_builds.php pftt. php

From: Date: Mon, 24 Mar 2014 21:03:30 +0000
Subject: com web/qa: Publish PFTT reports: list_builds.php pftt. php
Groups: php.qa 
Request: Send a blank email to php-qa+get-67272@lists.php.net to get a copy of this message
Commit: aa6602710c3b19257f023d142e06650b2f84c847 Author: v-mafick@microsoft.com <v-mafick@microsoft.com> Mon, 24 Mar 2014 14:03:30 -0700 Parents: 665fd8ef8cd0757624141b594f9bbfe13abe4ec7 Branches: master Link: http://git.php.net/?p=web/qa.git;a=commitdiff;h=aa6602710c3b19257f023d142e06650b2f84c847 Log: Publish PFTT reports Changed paths: M list_builds.php M pftt.php Diff: diff --git a/list_builds.php b/list_builds.php index d84c406..4b321f4 100755 --- a/list_builds.php +++ b/list_builds.php @@ -26,13 +26,13 @@ common_header(NULL, $TITLE); $r = scandir(BASE_REPORT_DIR."/$branch"); -var_dump($r); +//var_dump($r); + -/* $r = sort($r); var_dump($r); -*/ +//*/ /* diff --git a/pftt.php b/pftt.php index 2a5ffea..586e5e6 100755 --- a/pftt.php +++ b/pftt.php @@ -26,16 +26,16 @@ if ($branches!==FALSE) { $latest_revision_mtime = 0; foreach ( scandir(BASE_REPORT_DIR."/$branch") as $revision ) { - if ($revision=="." or $revision=="..") + if ($revision=="." or $revision==".." or $revision==".svn") continue; if (is_dir(BASE_REPORT_DIR."/$branch/$revision")) { $s = stat(BASE_REPORT_DIR."/$branch/$revision"); - var_dump($s); - /*$mtime = stat(BASE_REPORT_DIR."/$branch/$revision")[9]; + //var_dump($s); + $mtime = $s['mtime'];//stat(BASE_REPORT_DIR."/$branch/$revision")[9]; if ($mtime > $latest_revision_mtime) { $latest_revision = $revision; $latest_revision_mtime = $mtime; - }*/ + }//*/ } }

« previous php.qa (#67272) next »