[PHP-CVS] svn: /php/phpruntests/trunk/ build.xml phpdefinitions.txt phpdefinitions.txt_sample

2012-05-11 Thread Zoe Slattery
zoe  Fri, 11 May 2012 08:16:12 +

Revision: http://svn.php.net/viewvc?view=revisionrevision=325656

Log:
Add a temp directory to properties

Changed paths:
U   php/phpruntests/trunk/build.xml
D   php/phpruntests/trunk/phpdefinitions.txt
A   php/phpruntests/trunk/phpdefinitions.txt_sample

Modified: php/phpruntests/trunk/build.xml
===
--- php/phpruntests/trunk/build.xml 2012-05-11 08:04:49 UTC (rev 325655)
+++ php/phpruntests/trunk/build.xml 2012-05-11 08:16:12 UTC (rev 325656)
@@ -59,15 +59,15 @@
 delete dir=_compare /
 mkdir dir=_compare /

-delete dir=/tmp/phpruntests /
-mkdir dir=/tmp/phpruntests /
+delete dir=${temp_directory}/phpruntests /
+mkdir dir=${temp_directory}/phpruntests /

-copy file=${project.basedir}/QA/QATESTS.tgz 
tofile=/tmp/phpruntests/QATESTS.tgz /
+copy file=${project.basedir}/QA/QATESTS.tgz 
tofile=${temp_directory}/phpruntests/QATESTS.tgz /

-exec command=tar xfz QATESTS.tgz dir=/tmp/phpruntests /
+exec command=tar xfz QATESTS.tgz dir=${temp_directory}/phpruntests /

-exec command=${php} -n ${php_source}/run-tests.php -n -p ${php_to_test} 
/tmp/phpruntests/Zend /tmp/phpruntests/ext /tmp/phpruntests/sapi 
/tmp/phpruntests/tests  ${project.basedir}/_compare/old.out 
dir=/tmp/phpruntests passthru=true checkReturn=true/
-exec command=${php} -n ${project.basedir}/src/run-tests.php -n -p 
${php_to_test} -o csv -s ${project.basedir}/_compare/new.out /tmp/phpruntests 
dir=/tmp/phpruntests passthru=true checkReturn=true /
+exec command=${php} -n ${php_source}/run-tests.php -n -p ${php_to_test} 
${temp_directory}/phpruntests/Zend ${temp_directory}/phpruntests/ext 
${temp_directory}/phpruntests/sapi ${temp_directory}/phpruntests/tests  
${project.basedir}/_compare/old.out dir=${temp_directory}/phpruntests 
passthru=true checkReturn=true/
+exec command=${php} -n ${project.basedir}/src/run-tests.php -n -p 
${php_to_test} -o csv -s ${project.basedir}/_compare/new.out 
${temp_directory}/phpruntests dir=${temp_directory}/phpruntests 
passthru=true checkReturn=true /

 exec command=${php} -n QA/compareNewOld.php 
${project.basedir}/_compare/new.out ${project.basedir}/_compare/old.out 
phpruntests  ${project.basedir}/_compare/compare_new_old.out 
dir=${project.basedir} passthru=true checkReturn=true/


Deleted: php/phpruntests/trunk/phpdefinitions.txt
===
--- php/phpruntests/trunk/phpdefinitions.txt2012-05-11 08:04:49 UTC (rev 
325655)
+++ php/phpruntests/trunk/phpdefinitions.txt2012-05-11 08:16:12 UTC (rev 
325656)
@@ -1,9 +0,0 @@
-# This file is used as a phing property file and is also read by 
rtTestBoootstrap.php to determine which
-# PHP exectables to use in running unit tests
-
-#These are example settings, you will need to unomment and change them to the 
right paths on your system
-#
-#php=/usr/bin/php
-#php_to_test=/usr/local/php540/bin/php
-#php_cgi_to_test=/usr/local/php540/bin/php-cgi
-#php_source=/Users/zoe/Applications/PHP/php-5.4.0

Added: php/phpruntests/trunk/phpdefinitions.txt_sample
===
--- php/phpruntests/trunk/phpdefinitions.txt_sample 
(rev 0)
+++ php/phpruntests/trunk/phpdefinitions.txt_sample 2012-05-11 08:16:12 UTC 
(rev 325656)
@@ -0,0 +1,17 @@
+# This file is used as a phing property file and is also read by 
rtTestBoootstrap.php to determine which
+# PHP exectables to use in running unit tests
+
+#These are example settings, you will change them to the right paths on your 
system
+#then copy this to phpdefinitions.txt
+#
+#Your system defualt PHP
+php=/usr/bin/php
+#
+#The version of PHP that you intend to test
+php_to_test=/usr/local/php540/bin/php
+#
+#The location of a copy run-tests.php for running comparison results (qa 
target)
+php_source=/Users/zoe/Applications/PHP/php-5.4.0
+#
+#Temporary (writable) directory - also used buy qa target
+temp_directory=/tmp

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-CVS] svn: /php/phpruntests/trunk/ build.xml

2012-05-11 Thread Zoe Slattery
zoe  Fri, 11 May 2012 08:48:17 +

Revision: http://svn.php.net/viewvc?view=revisionrevision=325657

Log:
add some echos to the build file

Changed paths:
U   php/phpruntests/trunk/build.xml

Modified: php/phpruntests/trunk/build.xml
===
--- php/phpruntests/trunk/build.xml 2012-05-11 08:16:12 UTC (rev 325656)
+++ php/phpruntests/trunk/build.xml 2012-05-11 08:48:17 UTC (rev 325657)
@@ -62,15 +62,28 @@
 delete dir=${temp_directory}/phpruntests /
 mkdir dir=${temp_directory}/phpruntests /

+echo msg=Copying QATESTS tar file to temporary directory /
+
 copy file=${project.basedir}/QA/QATESTS.tgz 
tofile=${temp_directory}/phpruntests/QATESTS.tgz /

+echo msg=Extracting QATESTS.. /
+
 exec command=tar xfz QATESTS.tgz dir=${temp_directory}/phpruntests /

+echo msg=Running the tests using standard (old) run-tests.php.. /
+
 exec command=${php} -n ${php_source}/run-tests.php -n -p ${php_to_test} 
${temp_directory}/phpruntests/Zend ${temp_directory}/phpruntests/ext 
${temp_directory}/phpruntests/sapi ${temp_directory}/phpruntests/tests  
${project.basedir}/_compare/old.out dir=${temp_directory}/phpruntests 
passthru=true checkReturn=true/
+
+echo msg=Running the tests using new run-tests.php.. /
+
 exec command=${php} -n ${project.basedir}/src/run-tests.php -n -p 
${php_to_test} -o csv -s ${project.basedir}/_compare/new.out 
${temp_directory}/phpruntests dir=${temp_directory}/phpruntests 
passthru=true checkReturn=true /

+echo msg=Comparing the results from new and old runs /
+
 exec command=${php} -n QA/compareNewOld.php 
${project.basedir}/_compare/new.out ${project.basedir}/_compare/old.out 
phpruntests  ${project.basedir}/_compare/compare_new_old.out 
dir=${project.basedir} passthru=true checkReturn=true/

+echo msg=Comparing the results from new runs with baseline Linux 
results /
+
 exec command=${php} -n QA/compareNewNew.php 
${project.basedir}/QA/BaselineLinuxResults ${project.basedir}/_compare/new.out 
phpruntests  ${project.basedir}/_compare/compare_baseline_old.out 
dir=${project.basedir} passthru=true checkReturn=true/
   /target


-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-CVS] svn: /php/phpruntests/trunk/ build.xml phpdefinitions.txt tests/rtTestBootstrap.php tests/testcase/rtCleanExecutionTest.php

2012-05-10 Thread Zoe Slattery
zoe  Thu, 10 May 2012 15:17:46 +

Revision: http://svn.php.net/viewvc?view=revisionrevision=325643

Log:
change to use a single configuration file for testing

Changed paths:
U   php/phpruntests/trunk/build.xml
A   php/phpruntests/trunk/phpdefinitions.txt
U   php/phpruntests/trunk/tests/rtTestBootstrap.php
U   php/phpruntests/trunk/tests/testcase/rtCleanExecutionTest.php

Modified: php/phpruntests/trunk/build.xml
===
--- php/phpruntests/trunk/build.xml 2012-05-10 14:47:02 UTC (rev 325642)
+++ php/phpruntests/trunk/build.xml 2012-05-10 15:17:46 UTC (rev 325643)
@@ -1,6 +1,7 @@
 ?xml version=1.0?

 project name=runtests default=qa basedir=.
+property file=phpdefinitions.txt /

   target name=clean
 delete dir=_compare /
@@ -51,7 +52,8 @@

   target name=compare description=Old/New comparison of phpt results.
 fail unless=php message=Path to standard PHP executable not defined, 
use -Dphp=/path/to/php /
-fail unless=php_to_test message=Path to test PHP source dir not 
defined, use -Dphp_to_test=/path/to/php_source_dir /
+fail unless=php_to_test message=Path to test PHP source dir not 
defined, use -Dphp_to_test=/path/to/php/to/test /
+fail unless=php_source message=Path to test PHP source dir not 
defined, use -Dphp_to_test=/path/to/php_source_dir /


 delete dir=_compare /
@@ -64,8 +66,8 @@

 exec command=tar xfz QATESTS.tgz dir=/tmp/phpruntests /

-exec command=${php} -n ${php_to_test}/run-tests.php -n -p 
${php_to_test}/sapi/cli/php /tmp/phpruntests/Zend /tmp/phpruntests/ext 
/tmp/phpruntests/sapi /tmp/phpruntests/tests  
${project.basedir}/_compare/old.out dir=/tmp/phpruntests passthru=true 
checkReturn=true/
-exec command=${php} -n ${project.basedir}/src/run-tests.php -n -p 
${php_to_test}/sapi/cli/php -o csv -s ${project.basedir}/_compare/new.out 
/tmp/phpruntests dir=/tmp/phpruntests passthru=true checkReturn=true /
+exec command=${php} -n ${php_source}/run-tests.php -n -p ${php_to_test} 
/tmp/phpruntests/Zend /tmp/phpruntests/ext /tmp/phpruntests/sapi 
/tmp/phpruntests/tests  ${project.basedir}/_compare/old.out 
dir=/tmp/phpruntests passthru=true checkReturn=true/
+exec command=${php} -n ${project.basedir}/src/run-tests.php -n -p 
${php_to_test} -o csv -s ${project.basedir}/_compare/new.out /tmp/phpruntests 
dir=/tmp/phpruntests passthru=true checkReturn=true /

 exec command=${php} -n QA/compareNewOld.php 
${project.basedir}/_compare/new.out ${project.basedir}/_compare/old.out 
phpruntests  ${project.basedir}/_compare/compare_new_old.out 
dir=${project.basedir} passthru=true checkReturn=true/


Added: php/phpruntests/trunk/phpdefinitions.txt
===
--- php/phpruntests/trunk/phpdefinitions.txt(rev 0)
+++ php/phpruntests/trunk/phpdefinitions.txt2012-05-10 15:17:46 UTC (rev 
325643)
@@ -0,0 +1,9 @@
+# This file is used as a phing property file and is also read by 
rtTestBoootstrap.php to determine which
+# PHP exectables to use in running unit tests
+
+#These are example settings, you will need to unomment and change them to the 
right paths on your system
+#
+#php=/usr/bin/php
+#php_to_test=/usr/local/php540/bin/php
+#php_cgi_to_test=/usr/local/php540/bin/php-cgi
+#php_source=/Users/zoe/Applications/PHP/php-5.4.0

Modified: php/phpruntests/trunk/tests/rtTestBootstrap.php
===
--- php/phpruntests/trunk/tests/rtTestBootstrap.php 2012-05-10 14:47:02 UTC 
(rev 325642)
+++ php/phpruntests/trunk/tests/rtTestBootstrap.php 2012-05-10 15:17:46 UTC 
(rev 325643)
@@ -3,14 +3,31 @@
 require_once __DIR__ . '/../src/rtAutoload.php';

 /**
- * Define the Path to the PHP executable
+ * Check to see if the PHP and CGI executables are in a config file
  */
+if(file_exists(__DIR__ . '/../phpdefinitions.txt')) {
+   $phpdefs=file(__DIR__ . '/../phpdefinitions.txt');
+   foreach($phpdefs as $line) {
+   if(preg_match('/^php_to_test=(.*)/', $line, $matches)) {
+ define('RT_PHP_PATH', trim($matches[1]));
+   }
+   if(preg_match('/^php_cgi_to_test=(.*)/', $line, $matches)) {
+   define('RT_PHP_CGI_PATH', trim($matches[1]));
+   }
+   }
+}
+
+
+/**
+ * Fall back definition of Path to the PHPexecutable
+ */
+
 if (!defined('RT_PHP_PATH')) {
   define('RT_PHP_PATH', trim(shell_exec(which php)));
 }

 /**
- * Define the Path to the PHP CGI executable
+ * Fall back definition of Path to the PHP CGI executable
  */
 if (!defined('RT_PHP_CGI_PATH')) {
   define('RT_PHP_CGI_PATH', trim(shell_exec(which php-cgi)));

Modified: php/phpruntests/trunk/tests/testcase/rtCleanExecutionTest.php
===
--- php/phpruntests/trunk/tests/testcase/rtCleanExecutionTest.php 

[PHP-CVS] svn: /php/phpruntests/trunk/ build.xml phpt-tests/sample_clean.php phpt-tests/sample_clean_fail.php phpt-tests/sample_fileexternal.phpt phpt-tests/sample_gzippost.phpt phpt-tests/utils/hw.ph

2012-05-09 Thread Zoe Slattery
zoe  Wed, 09 May 2012 16:26:29 +

Revision: http://svn.php.net/viewvc?view=revisionrevision=325627

Log:
tidying up

Changed paths:
U   php/phpruntests/trunk/build.xml
D   php/phpruntests/trunk/phpt-tests/sample_clean.php
D   php/phpruntests/trunk/phpt-tests/sample_clean_fail.php
U   php/phpruntests/trunk/phpt-tests/sample_fileexternal.phpt
U   php/phpruntests/trunk/phpt-tests/sample_gzippost.phpt
A   php/phpruntests/trunk/phpt-tests/utils/
A   php/phpruntests/trunk/phpt-tests/utils/hw.php
A   php/phpruntests/trunk/phpt-tests/utils/hw.save
A   php/phpruntests/trunk/phpt-tests/utils/windows_line_endings.php
D   php/phpruntests/trunk/phpt-tests/windows_line_endings.php
U   php/phpruntests/trunk/tests/testcase/rtCookieExecutionTest.php

Modified: php/phpruntests/trunk/build.xml
===
--- php/phpruntests/trunk/build.xml 2012-05-09 16:12:35 UTC (rev 325626)
+++ php/phpruntests/trunk/build.xml 2012-05-09 16:26:29 UTC (rev 325627)
@@ -11,6 +11,15 @@
 delete dir=QA/sapi /
 delete dir=QA/tests /
 delete dir=QA/Zend /
+delete
+   fileset dir=phpt-tests includes=*.out /
+   fileset dir=phpt-tests includes=*.exp /
+   fileset dir=phpt-tests includes=*.diff /
+   fileset dir=phpt-tests includes=*.log /
+   fileset dir=phpt-tests includes=*.sh /
+   fileset dir=phpt-tests includes=*.post /
+   fileset dir=phpt-tests includes=*.php /
+/delete
   /target

   target name=qa depends=lint, test, coverage, compare, doc 
description=Perform quality assurance.
@@ -28,13 +37,6 @@
 include name=**/*.php/
   /fileset
 /phplint
-
-phplint haltonfailure=true
-  fileset dir=tests
-include name=*.php/
-include name=**/*.php/
-  /fileset
-/phplint
   /target

   target name=test description=Run all unit tests.

Deleted: php/phpruntests/trunk/phpt-tests/sample_clean.php
===
--- php/phpruntests/trunk/phpt-tests/sample_clean.php   2012-05-09 16:12:35 UTC 
(rev 325626)
+++ php/phpruntests/trunk/phpt-tests/sample_clean.php   2012-05-09 16:26:29 UTC 
(rev 325627)
@@ -1,7 +0,0 @@
-?php
-
-  $file_name = dirname(__FILE__) . /cleantest.tmp;
-  file_put_contents($file_name, hello world);
-  echo  written\n;
-
-?

Deleted: php/phpruntests/trunk/phpt-tests/sample_clean_fail.php
===
--- php/phpruntests/trunk/phpt-tests/sample_clean_fail.php  2012-05-09 
16:12:35 UTC (rev 325626)
+++ php/phpruntests/trunk/phpt-tests/sample_clean_fail.php  2012-05-09 
16:26:29 UTC (rev 325627)
@@ -1,7 +0,0 @@
-?php
-
-  $file_name = dirname(__FILE__) . /cleantest.tmp;
-  file_put_contents($file_name, hello world);
-  echo  written\n;
-
-?

Modified: php/phpruntests/trunk/phpt-tests/sample_fileexternal.phpt
===
--- php/phpruntests/trunk/phpt-tests/sample_fileexternal.phpt   2012-05-09 
16:12:35 UTC (rev 325626)
+++ php/phpruntests/trunk/phpt-tests/sample_fileexternal.phpt   2012-05-09 
16:26:29 UTC (rev 325627)
@@ -1,6 +1,6 @@
 --TEST--
 sample test for file_external
 --FILE_EXTERNAL--
-hw.php
+utils/hw.php
 --EXPECT--
 hello world

Modified: php/phpruntests/trunk/phpt-tests/sample_gzippost.phpt
===
--- php/phpruntests/trunk/phpt-tests/sample_gzippost.phpt   2012-05-09 
16:12:35 UTC (rev 325626)
+++ php/phpruntests/trunk/phpt-tests/sample_gzippost.phpt   2012-05-09 
16:26:29 UTC (rev 325627)
@@ -5,8 +5,8 @@
 --FILE--
 ?php
 $content = file_get_contents('php://input');
-
-if ($content != gzencode('blahblah=blah'))
+$string = gzdecode($content);
+if ($string != blahblah=blah)
 {
   echo invalid gzipped content;
 } else {

Added: php/phpruntests/trunk/phpt-tests/utils/hw.php
===
--- php/phpruntests/trunk/phpt-tests/utils/hw.php   
(rev 0)
+++ php/phpruntests/trunk/phpt-tests/utils/hw.php   2012-05-09 16:26:29 UTC 
(rev 325627)
@@ -0,0 +1,3 @@
+?php
+  echo hello world\n;
+?

Added: php/phpruntests/trunk/phpt-tests/utils/hw.save
===
--- php/phpruntests/trunk/phpt-tests/utils/hw.save  
(rev 0)
+++ php/phpruntests/trunk/phpt-tests/utils/hw.save  2012-05-09 16:26:29 UTC 
(rev 325627)
@@ -0,0 +1,3 @@
+?php
+  echo hello world\n;
+?

Added: php/phpruntests/trunk/phpt-tests/utils/windows_line_endings.php
===
--- php/phpruntests/trunk/phpt-tests/utils/windows_line_endings.php 
(rev 0)
+++ php/phpruntests/trunk/phpt-tests/utils/windows_line_endings.php 
2012-05-09 16:26:29 UTC (rev 

[PHP-CVS] svn: /php/phpruntests/trunk/ build.xml

2012-05-09 Thread Zoe Slattery
zoe  Wed, 09 May 2012 18:57:48 +

Revision: http://svn.php.net/viewvc?view=revisionrevision=325631

Log:
remove hard coded paths

Changed paths:
U   php/phpruntests/trunk/build.xml

Modified: php/phpruntests/trunk/build.xml
===
--- php/phpruntests/trunk/build.xml 2012-05-09 16:54:16 UTC (rev 325630)
+++ php/phpruntests/trunk/build.xml 2012-05-09 18:57:48 UTC (rev 325631)
@@ -50,8 +50,10 @@
   /target

   target name=compare description=Old/New comparison of phpt results.
-fail unless=php message=Path to PHP executable not defined, use 
-Dphp=/path/to/php /
+fail unless=php message=Path to standard PHP executable not defined, 
use -Dphp=/path/to/php /
+fail unless=php_to_test message=Path to test PHP source dir not 
defined, use -Dphp_to_test=/path/to/php_source_dir /

+
 delete dir=_compare /
 mkdir dir=_compare /

@@ -62,8 +64,8 @@

 exec command=tar xfz QATESTS.tgz dir=/tmp/phpruntests /

-exec command=${php} -n 
/Users/zoe/Applications/PHP/php-5.4.0/run-tests.php -n -p ${php} 
/tmp/phpruntests/Zend /tmp/phpruntests/ext /tmp/phpruntests/sapi 
/tmp/phpruntests/tests  ${project.basedir}/_compare/old.out 
dir=/tmp/phpruntests passthru=true checkReturn=true/
-exec command=${php} -n ${project.basedir}/src/run-tests.php -n -p ${php} 
-o csv -s ${project.basedir}/_compare/new.out /tmp/phpruntests 
dir=/tmp/phpruntests passthru=true checkReturn=true /
+exec command=${php} -n ${php_to_test}/run-tests.php -n -p 
${php_to_test}/sapi/cli/php /tmp/phpruntests/Zend /tmp/phpruntests/ext 
/tmp/phpruntests/sapi /tmp/phpruntests/tests  
${project.basedir}/_compare/old.out dir=/tmp/phpruntests passthru=true 
checkReturn=true/
+exec command=${php} -n ${project.basedir}/src/run-tests.php -n -p 
${php_to_test}/sapi/cli/php -o csv -s ${project.basedir}/_compare/new.out 
/tmp/phpruntests dir=/tmp/phpruntests passthru=true checkReturn=true /

 exec command=${php} -n QA/compareNewOld.php 
${project.basedir}/_compare/new.out ${project.basedir}/_compare/old.out 
phpruntests  ${project.basedir}/_compare/compare_new_old.out 
dir=${project.basedir} passthru=true checkReturn=true/


-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-CVS] svn: /php/phpruntests/trunk/ build.xml

2012-04-30 Thread Zoe Slattery
zoe  Mon, 30 Apr 2012 21:13:32 +

Revision: http://svn.php.net/viewvc?view=revisionrevision=325481

Log:
Fix the directory where tests are run

Changed paths:
U   php/phpruntests/trunk/build.xml

Modified: php/phpruntests/trunk/build.xml
===
--- php/phpruntests/trunk/build.xml 2012-04-30 11:55:07 UTC (rev 325480)
+++ php/phpruntests/trunk/build.xml 2012-04-30 21:13:32 UTC (rev 325481)
@@ -60,8 +60,8 @@

 exec command=tar xfz QATESTS.tgz dir=/tmp/phpruntests /

-exec command=${php} -n run-tests.php -n -p ${php} /tmp/phpruntests/Zend 
/tmp/phpruntests/ext /tmp/phpruntests/sapi /tmp/phpruntests/tests  
${project.basedir}/_compare/old.out dir=/tmp/phpruntests passthru=true 
checkReturn=true/
-exec command=${php} -n ${project.basedir}/src/run-tests.php -n -p ${php} 
-o csv -s ${project.basedir}/_compare/new.out /tmp/phpruntests 
dir=${project.basedir} passthru=true checkReturn=true /
+exec command=${php} -n 
/Users/zoe/Applications/PHP/php-5.4.0/run-tests.php -n -p ${php} 
/tmp/phpruntests/Zend /tmp/phpruntests/ext /tmp/phpruntests/sapi 
/tmp/phpruntests/tests  ${project.basedir}/_compare/old.out 
dir=/tmp/phpruntests passthru=true checkReturn=true/
+exec command=${php} -n ${project.basedir}/src/run-tests.php -n -p ${php} 
-o csv -s ${project.basedir}/_compare/new.out /tmp/phpruntests 
dir=/tmp/phpruntests passthru=true checkReturn=true /

 exec command=${php} -n QA/compareNewOld.php 
${project.basedir}/_compare/new.out ${project.basedir}/_compare/old.out 
phpruntests  ${project.basedir}/_compare/compare_new_old.out 
dir=${project.basedir} passthru=true checkReturn=true/


-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-CVS] svn: /php/phpruntests/trunk/ build.xml

2012-04-30 Thread Gergo Erdosi
On Mon, Apr 30, 2012 at 11:13 PM, Zoe Slattery z...@php.net wrote:
 zoe                                      Mon, 30 Apr 2012 21:13:32 +

 Revision: http://svn.php.net/viewvc?view=revisionrevision=325481

 Log:
 Fix the directory where tests are run

 Changed paths:
    U   php/phpruntests/trunk/build.xml

 Modified: php/phpruntests/trunk/build.xml
 ===
 --- php/phpruntests/trunk/build.xml     2012-04-30 11:55:07 UTC (rev 325480)
 +++ php/phpruntests/trunk/build.xml     2012-04-30 21:13:32 UTC (rev 325481)
 @@ -60,8 +60,8 @@

     exec command=tar xfz QATESTS.tgz dir=/tmp/phpruntests /

 -    exec command=${php} -n run-tests.php -n -p ${php} 
 /tmp/phpruntests/Zend /tmp/phpruntests/ext /tmp/phpruntests/sapi 
 /tmp/phpruntests/tests  ${project.basedir}/_compare/old.out 
 dir=/tmp/phpruntests passthru=true checkReturn=true/
 -    exec command=${php} -n ${project.basedir}/src/run-tests.php -n -p 
 ${php} -o csv -s ${project.basedir}/_compare/new.out /tmp/phpruntests 
 dir=${project.basedir} passthru=true checkReturn=true /
 +    exec command=${php} -n 
 /Users/zoe/Applications/PHP/php-5.4.0/run-tests.php -n -p ${php} 
 /tmp/phpruntests/Zend /tmp/phpruntests/ext /tmp/phpruntests/sapi 
 /tmp/phpruntests/tests  ${project.basedir}/_compare/old.out 
 dir=/tmp/phpruntests passthru=true checkReturn=true/
 +    exec command=${php} -n ${project.basedir}/src/run-tests.php -n -p 
 ${php} -o csv -s ${project.basedir}/_compare/new.out /tmp/phpruntests 
 dir=/tmp/phpruntests passthru=true checkReturn=true /

     exec command=${php} -n QA/compareNewOld.php 
 ${project.basedir}/_compare/new.out ${project.basedir}/_compare/old.out 
 phpruntests  ${project.basedir}/_compare/compare_new_old.out 
 dir=${project.basedir} passthru=true checkReturn=true/


/Users/zoe/Applications/PHP/php-5.4.0/run-tests.php
I think this was committed by accident.

Gergo Erdosi

--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-CVS] svn: /php/phpruntests/trunk/ build.xml

2009-09-08 Thread Stefan Priebsch
spriebschTue, 08 Sep 2009 20:48:17 +

Revision: http://svn.php.net/viewvc?view=revisionrevision=288169

Log:
Added missing -n command line switches to compare task in build.xml.

Changed paths:
U   php/phpruntests/trunk/build.xml

Modified: php/phpruntests/trunk/build.xml
===
--- php/phpruntests/trunk/build.xml 2009-09-08 20:43:56 UTC (rev 288168)
+++ php/phpruntests/trunk/build.xml 2009-09-08 20:48:17 UTC (rev 288169)
@@ -60,8 +60,8 @@

 exec command=tar xfz QATESTS.tgz dir=/tmp/phpruntests /

-exec command=${php} -n run-tests.php -p ${php} /tmp/phpruntests/Zend 
/tmp/phpruntests/ext /tmp/phpruntests/sapi /tmp/phpruntests/tests  
${project.basedir}/_compare/old.out dir=/tmp/phpruntests passthru=true 
checkReturn=true/
-exec command=${php} -n ${project.basedir}/src/run-tests.php -p ${php} -o 
csv -s ${project.basedir}/_compare/new.out /tmp/phpruntests 
dir=${project.basedir} passthru=true checkReturn=true /
+exec command=${php} -n run-tests.php -n -p ${php} /tmp/phpruntests/Zend 
/tmp/phpruntests/ext /tmp/phpruntests/sapi /tmp/phpruntests/tests  
${project.basedir}/_compare/old.out dir=/tmp/phpruntests passthru=true 
checkReturn=true/
+exec command=${php} -n ${project.basedir}/src/run-tests.php -n -p ${php} 
-o csv -s ${project.basedir}/_compare/new.out /tmp/phpruntests 
dir=${project.basedir} passthru=true checkReturn=true /

 exec command=${php} -n QA/compareNewOld.php 
${project.basedir}/_compare/new.out ${project.basedir}/_compare/old.out 
phpruntests  ${project.basedir}/_compare/compare_new_old.out 
dir=${project.basedir} passthru=true checkReturn=true/


-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-CVS] svn: php/phpruntests/trunk/ build.xml

2009-07-23 Thread Stefan Priebsch
spriebschThu, 23 Jul 2009 08:38:12 +

Revision: http://svn.php.net/viewvc?view=revisionrevision=284638

Log:
Modified build automation run phpt's in /tmp directory.
Added new/new comparison with baseline linux results.

Changed paths:
U   php/phpruntests/trunk/build.xml

Modified: php/phpruntests/trunk/build.xml
===
--- php/phpruntests/trunk/build.xml 2009-07-23 07:38:29 UTC (rev 284637)
+++ php/phpruntests/trunk/build.xml 2009-07-23 08:38:12 UTC (rev 284638)
@@ -53,15 +53,19 @@
 delete dir=_compare /
 mkdir dir=_compare /

-delete dir=QA/ext /
-delete dir=QA/sapi /
-delete dir=QA/tests /
-delete dir=QA/Zend /
+delete dir=/tmp/phpruntests /
+mkdir dir=/tmp/phpruntests /

-exec command=tar xfz QATESTS.tgz dir=QA passthru=true /
-exec command=${php} -n run-tests.php -p ${php} Zend ext sapi tests  
${project.basedir}/_compare/old.out dir=QA passthru=true 
checkReturn=true/
-exec command=${php} -n ${project.basedir}/src/run-tests.php -p ${php} -o 
csv -s ${project.basedir}/_compare/new.out QA dir=${project.basedir} 
passthru=true checkReturn=true /
-exec command=${php}  -n QA/compareNewOld.php 
${project.basedir}/_compare/new.out ${project.basedir}/_compare/old.out QA   
${project.basedir}/_compare/compare.out dir=${project.basedir} 
passthru=true checkReturn=true/
+copy file=${project.basedir}/QA/QATESTS.tgz 
tofile=/tmp/phpruntests/QATESTS.tgz /
+
+exec command=tar xfz QATESTS.tgz dir=/tmp/phpruntests /
+
+exec command=${php} -n run-tests.php -p ${php} /tmp/phpruntests/Zend 
/tmp/phpruntests/ext /tmp/phpruntests/sapi /tmp/phpruntests/tests  
${project.basedir}/_compare/old.out dir=/tmp/phpruntests passthru=true 
checkReturn=true/
+exec command=${php} -n ${project.basedir}/src/run-tests.php -p ${php} -o 
csv -s ${project.basedir}/_compare/new.out /tmp/phpruntests 
dir=${project.basedir} passthru=true checkReturn=true /
+
+exec command=${php} -n QA/compareNewOld.php 
${project.basedir}/_compare/new.out ${project.basedir}/_compare/old.out 
phpruntests  ${project.basedir}/_compare/compare_new_old.out 
dir=${project.basedir} passthru=true checkReturn=true/
+
+exec command=${php} -n QA/compareNewNew.php 
${project.basedir}/QA/BaselineLinuxResults ${project.basedir}/_compare/new.out 
phpruntests  ${project.basedir}/_compare/compare_baseline_old.out 
dir=${project.basedir} passthru=true checkReturn=true/
   /target

   target name=sniff description=Run all PHP_CodeSniffer sniffs.

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-CVS] svn: php/phpruntests/trunk/ build.xml

2009-07-22 Thread Zoe Slattery
zoe  Wed, 22 Jul 2009 13:46:38 +

Revision: http://svn.php.net/viewvc?view=revisionrevision=284605

Log:
Addes -n to make sure of ignoring php.ini files

Changed paths:
U   php/phpruntests/trunk/build.xml

Modified: php/phpruntests/trunk/build.xml
===
--- php/phpruntests/trunk/build.xml 2009-07-22 12:22:32 UTC (rev 284604)
+++ php/phpruntests/trunk/build.xml 2009-07-22 13:46:38 UTC (rev 284605)
@@ -59,9 +59,9 @@
 delete dir=QA/Zend /

 exec command=tar xfz QATESTS.tgz dir=QA passthru=true /
-exec command=${php} run-tests.php -p ${php} Zend ext sapi tests  
${project.basedir}/_compare/old.out dir=QA passthru=true 
checkReturn=true/
-exec command=${php} ${project.basedir}/src/run-tests.php -p ${php} -o 
csv -s ${project.basedir}/_compare/new.out QA dir=${project.basedir} 
passthru=true checkReturn=true /
-exec command=${php} QA/compareNewOld.php 
${project.basedir}/_compare/new.out ${project.basedir}/_compare/old.out QA   
${project.basedir}/_compare/compare.out dir=${project.basedir} 
passthru=true checkReturn=true/
+exec command=${php} -n run-tests.php -p ${php} Zend ext sapi tests  
${project.basedir}/_compare/old.out dir=QA passthru=true 
checkReturn=true/
+exec command=${php} -n ${project.basedir}/src/run-tests.php -p ${php} -o 
csv -s ${project.basedir}/_compare/new.out QA dir=${project.basedir} 
passthru=true checkReturn=true /
+exec command=${php}  -n QA/compareNewOld.php 
${project.basedir}/_compare/new.out ${project.basedir}/_compare/old.out QA   
${project.basedir}/_compare/compare.out dir=${project.basedir} 
passthru=true checkReturn=true/
   /target

   target name=sniff description=Run all PHP_CodeSniffer sniffs.

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php