svn: /web/php-rmtools/trunk/client/include/ BuildVC.php

From: Date: Mon, 12 Dec 2011 13:20:28 +0000
Subject: svn: /web/php-rmtools/trunk/client/include/ BuildVC.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-12617@lists.php.net to get a copy of this message
pajoye Mon, 12 Dec 2011 13:20:28 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=320892 Log: - define test pack as well for snap Changed paths: U web/php-rmtools/trunk/client/include/BuildVC.php Modified: web/php-rmtools/trunk/client/include/BuildVC.php =================================================================== --- web/php-rmtools/trunk/client/include/BuildVC.php 2011-12-12 13:07:03 UTC (rev 320891) +++ web/php-rmtools/trunk/client/include/BuildVC.php 2011-12-12 13:20:28 UTC (rev 320892) @@ -14,7 +14,8 @@ public $archive_path = false; public $debug_path = false; public $devel_path = false; - + public $test_path = false; + public $compiler_log_parser; public $stats; public $log_buildconf; @@ -155,9 +156,16 @@ $zip_debug_filename = trim($matches[1]); $this->zip_debug_filename = $zip_debug_filename; + if (!preg_match('/.*(php-test-pack-\d\.\d\.\d.*\.zip)/', $this->log_archive, $matches)) { + throw new \Exception('Make archive failed, cannot find php-test archive'); + } + $zip_debug_filename = trim($matches[1]); + $this->zip_test_filename = $zip_debug_filename; + $this->archive_path = realpath($zip_dir . '/' . $zip_filename); $this->debug_path = realpath($zip_dir . '/' . $zip_debug_filename); $this->devel_path = realpath($zip_dir . '/' . $zip_devel_filename); + $this->test_path = realpath($zip_dir . '/' . $zip_test_filename); $this->addLogsToArchive(); }

« previous php.webmaster (#12617) next »