From 3dee1db2603c84b53c9fe93b5da95d75846878d6 Mon Sep 17 00:00:00 2001 From: Nicofuma Date: Sat, 3 May 2014 03:36:01 +0200 Subject: [PATCH] [ticket/12485] Broken tests due to absolute exclude PHPBB3-12485 --- .travis.yml | 2 +- phpunit.xml.all | 4 +-- phpunit.xml.dist | 4 +-- phpunit.xml.functional | 4 +-- travis/phpunit-mariadb-travis.xml | 6 ++-- travis/phpunit-mysql-5-2-travis.xml | 44 +++++++++++++++++++++++++++++ travis/phpunit-mysql-travis.xml | 8 +++--- travis/phpunit-postgres-travis.xml | 6 ++-- 8 files changed, 61 insertions(+), 17 deletions(-) create mode 100644 travis/phpunit-mysql-5-2-travis.xml diff --git a/.travis.yml b/.travis.yml index 635023d596..26744c57ef 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,7 +24,7 @@ before_script: - sh -c "if [ `php -r "echo (int) version_compare(PHP_VERSION, '5.3.19', '>=');"` = "1" ]; then travis/setup-webserver.sh; fi" script: - - sh -c "if [ '$TRAVIS_PHP_VERSION' = '5.2' ]; then phpunit --configuration travis/phpunit-$DB-travis.xml; else phpBB/vendor/bin/phpunit --configuration travis/phpunit-$DB-travis.xml; fi" + - sh -c "if [ '$TRAVIS_PHP_VERSION' = '5.2' ]; then phpunit --configuration travis/phpunit-$DB-5-2-travis.xml; else phpBB/vendor/bin/phpunit --configuration travis/phpunit-$DB-travis.xml; fi" - sh -c "if [ '$TRAVIS_PHP_VERSION' = '5.5' -a '$DB' = 'mysql' -a '$TRAVIS_PULL_REQUEST' != 'false' ]; then git-tools/commit-msg-hook-range.sh origin/$TRAVIS_BRANCH..FETCH_HEAD; fi" matrix: diff --git a/phpunit.xml.all b/phpunit.xml.all index d91a614c97..b73b8873f6 100644 --- a/phpunit.xml.all +++ b/phpunit.xml.all @@ -13,7 +13,7 @@ > - ./tests/ + ./tests ./tests/functional tests/lint_test.php @@ -27,7 +27,7 @@ - ./tests/ + ./tests diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 4c91f8e373..f5871e2eeb 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -13,7 +13,7 @@ > - ./tests/ + ./tests ./tests/functional tests/lint_test.php @@ -34,7 +34,7 @@ - ./tests/ + ./tests diff --git a/phpunit.xml.functional b/phpunit.xml.functional index 919de74dec..9f3033b074 100644 --- a/phpunit.xml.functional +++ b/phpunit.xml.functional @@ -13,7 +13,7 @@ > - ./tests/ + ./tests ./tests/functional tests/lint_test.php @@ -33,7 +33,7 @@ - ./tests/ + ./tests diff --git a/travis/phpunit-mariadb-travis.xml b/travis/phpunit-mariadb-travis.xml index 1eaee5b7d8..aa245a8224 100644 --- a/travis/phpunit-mariadb-travis.xml +++ b/travis/phpunit-mariadb-travis.xml @@ -13,9 +13,9 @@ bootstrap="../tests/bootstrap.php"> - ../tests/ - tests/functional - tests/lint_test.php + ../tests + ../tests/functional + ../tests/lint_test.php ../tests/functional diff --git a/travis/phpunit-mysql-5-2-travis.xml b/travis/phpunit-mysql-5-2-travis.xml new file mode 100644 index 0000000000..e99f8d6cee --- /dev/null +++ b/travis/phpunit-mysql-5-2-travis.xml @@ -0,0 +1,44 @@ + + + + + ../tests/ + tests/functional + tests/lint_test.php + + + tests/lint_test.php + + + ../tests/functional + + + + + + slow + + + + + + + + + + + + + + diff --git a/travis/phpunit-mysql-travis.xml b/travis/phpunit-mysql-travis.xml index e99f8d6cee..3ad59747ff 100644 --- a/travis/phpunit-mysql-travis.xml +++ b/travis/phpunit-mysql-travis.xml @@ -13,12 +13,12 @@ bootstrap="../tests/bootstrap.php"> - ../tests/ - tests/functional - tests/lint_test.php + ../tests + ../tests/functional + ../tests/lint_test.php - tests/lint_test.php + ../tests/lint_test.php ../tests/functional diff --git a/travis/phpunit-postgres-travis.xml b/travis/phpunit-postgres-travis.xml index aa829f4d30..b4af7c5765 100644 --- a/travis/phpunit-postgres-travis.xml +++ b/travis/phpunit-postgres-travis.xml @@ -13,9 +13,9 @@ bootstrap="../tests/bootstrap.php"> - ../tests/ - tests/functional - tests/lint_test.php + ../tests + ../tests/functional + ../tests/lint_test.php ../tests/functional