cvs: pecl(BRANCH_1_1_1) /sdo runalltests.bat runalltests.sh

From: Date: Thu, 07 Dec 2006 09:32:44 +0000
Subject: cvs: pecl(BRANCH_1_1_1) /sdo runalltests.bat runalltests.sh
Groups: php.pecl.cvs 
Request: Send a blank email to pecl-cvs+get-6757@lists.php.net to get a copy of this message
slaws Thu Dec 7 09:32:44 2006 UTC Modified files: (Branch: BRANCH_1_1_1) /pecl/sdo runalltests.sh runalltests.bat Log: Test and example reorganization http://cvs.php.net/viewvc.cgi/pecl/sdo/runalltests.sh?r1=1.2.6.1&r2=1.2.6.2&diff_format=u Index: pecl/sdo/runalltests.sh diff -u pecl/sdo/runalltests.sh:1.2.6.1 pecl/sdo/runalltests.sh:1.2.6.2 --- pecl/sdo/runalltests.sh:1.2.6.1 Mon Nov 27 09:33:17 2006 +++ pecl/sdo/runalltests.sh Thu Dec 7 09:32:44 2006 @@ -17,7 +17,7 @@ # +----------------------------------------------------------------------+ # | Author: SL | # +----------------------------------------------------------------------+ -# $Id: runalltests.sh,v 1.2.6.1 2006/11/27 09:33:17 slaws Exp $ +# $Id: runalltests.sh,v 1.2.6.2 2006/12/07 09:32:44 slaws Exp $ echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ echo This script tests the php executable installed @@ -38,44 +38,22 @@ export TMP=/tmp echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -echo SDO Core Tests +echo PHPT Tests $TEST_PHP_EXECUTABLE run-tests.php tests echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -echo Check that PHPUnit2 is installed -$TEST_PHP_EXECUTABLE tests/SDOTestSetup.php - -echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -echo SDO Core PHPUnit2 Tests +echo PHPUnit Tests cd tests -$PHPUNIT_EXECUTABLE SDOAPITest SDOAPITest.php --log-xml SDOAIPITest.xml +$TEST_PHP_EXECUTABLE AllTests.php cd .. echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -echo XML DAS PHPUnit2 Tests -cd tests/XMLDAS/PHPUnitTests -$PHPUNIT_EXECUTABLE XMLDASTest XMLDASTest.php -cd ../../.. - -echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -echo Relational DAS PHPUnit2 Tests -cd DAS/Relational/Tests -$PHPUNIT_EXECUTABLE SDO_DAS_Relational_TestSuite TestSuite.php -cd ../../.. - -echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ echo You may like to run the Relational samples now which echo test the SDO Relational DAS against a real database. echo See DAS/Relational/Scenarios/README for details echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -echo SDO Interop tests -cd tests/interop -$TEST_PHP_EXECUTABLE interop-xml.php -cd ../.. - -echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ echo You may like to run the relational interop tests now echo See the file tests/interop/README.txt under echo the test5 heading. http://cvs.php.net/viewvc.cgi/pecl/sdo/runalltests.bat?r1=1.3.6.1&r2=1.3.6.2&diff_format=u Index: pecl/sdo/runalltests.bat diff -u pecl/sdo/runalltests.bat:1.3.6.1 pecl/sdo/runalltests.bat:1.3.6.2 --- pecl/sdo/runalltests.bat:1.3.6.1 Mon Nov 27 09:33:17 2006 +++ pecl/sdo/runalltests.bat Thu Dec 7 09:32:44 2006 @@ -17,7 +17,7 @@ rem +----------------------------------------------------------------------+ rem | Author: SL | rem +----------------------------------------------------------------------+ -rem $Id: runalltests.bat,v 1.3.6.1 2006/11/27 09:33:17 slaws Exp $ +rem $Id: runalltests.bat,v 1.3.6.2 2006/12/07 09:32:44 slaws Exp $ echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ echo This script runs all of the PHP SDO tests that can @@ -30,7 +30,7 @@ echo PHP_BIN_HOME - the directory holding the binary to be tested scho TMP - the directory where temporary files will be written during testing -set PHP_HOME=C:\simon\Projects\Tuscany\php\php-5.1.4 +set PHP_HOME=C:\simon\Projects\Tuscany\php\php-5.2.0 set PHP_BIN_HOME=%PHP_HOME%\Debug_TS set TMP=C:\temp @@ -48,43 +48,21 @@ set PATH=%PHP_BIN_HOME% echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -echo SDO Core Tests +echo PHPT Tests call %TEST_PHP_EXECUTABLE% %PHP_HOME%\run-tests.php tests echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -echo Check that PHPUnit2 is installed -%TEST_PHP_EXECUTABLE% tests/SDOTestSetup.php - -echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -echo SDO Core PHPUnit2 Tests +echo PHPUnit2 Tests cd tests -call %PHPUNIT_EXECUTABLE% SDOAPITest SDOAPITest.php --log-xml SDOAIPITest.xml +call %TEST_PHP_EXECUTABLE% AllTests.php cd .. echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -echo XML DAS PHPUnit2 Tests -cd tests\XMLDAS\PHPUnitTests -call %PHPUNIT_EXECUTABLE% XMLDASTest XMLDASTest.php -cd ..\..\.. - -echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -echo Relational DAS PHPUnit2 Tests -cd DAS\Relational\Tests -call %PHPUNIT_EXECUTABLE% SDO_DAS_Relational_TestSuite TestSuite.php -cd ..\..\.. - -echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ echo You may like to run the Relational samples now which echo test the SDO Relational DAS against a real database. echo See DAS/Relational/Scenarios/README for details echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -echo SDO Interop tests -cd tests\interop -call %TEST_PHP_EXECUTABLE% interop-xml.php -cd ..\.. - -echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ echo You may like to run the relational interop tests now echo See the file tests\interop\README.txt under echo the test5 heading.

« previous php.pecl.cvs (#6757) next »