zoe Fri, 11 May 2012 08:16:12 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=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.txt 2012-05-11 08:04:49 UTC (rev
325655)
+++ php/phpruntests/trunk/phpdefinitions.txt 2012-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