stable

Clone or download

Read-only

Run simpletest with PHP 7.0

Introduce run of simpletest test suite with PHP 7.0 It's only an very first step to put in place the infrastructure and logic. Only a couple of tests are already running with so called up to date simpletest version (1.1.7) and php 7.0 (1180 tests). In order to do things progressively, we generate a whitelist of tests that pass 7.0 / SimpleTest 1.1.7 and ensure they continue to pass. When one convert tests it's supposed to run 'make simpletest-70-update-compatibility-list' and increase the number of tests that pass. To run tests locally you should type 'make simpletest-70' Part of story #11385 convert tests to simpletest/php7 Change-Id: I71d1673449919d5088a1f0bddf56537fddab4011

Modified Files

Name
M Makefile +22 −0 Go to diff View file
M plugins/tests/www/TuleapTestSuite.class.php +8 −48 Go to diff View file
M src/composer.json +2 −1 Go to diff View file
M src/composer.lock +90 −17 Go to diff View file
M tests/Jenkinsfile +4 −0 Go to diff View file
A tests/bin/SimpleTestPHP7/CompareXMLResults.php +40 −0 Go to diff View file
A tests/bin/SimpleTestPHP7/FindCompatibleTests.php +64 −0 Go to diff View file
A tests/bin/SimpleTestPHP7/RunTestSuite.php +66 −0 Go to diff View file
A tests/bin/SimpleTestPHP7/TuleapTestCase.php +107 −0 Go to diff View file
A tests/bin/php7-run.php +77 −0 Go to diff View file
A tests/lib/FilterTestCase.php +57 −0 Go to diff View file
A tests/lib/FilterTestDirectory.php +37 −0 Go to diff View file
M tests/lib/autoload.php +4 −2 Go to diff View file
A tests/php7compatibletests.list +66 −0 Go to diff View file
A tests/simpletest/SimpleTestSampleTest.php +29 −0 Go to diff View file
M tests/simpletest/common/language/BaseLanguageFactoryTest.php +5 −4 Go to diff View file