From d6ac4a1130721638ec76756ae0dd7b72136383c1 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 9 May 2014 11:07:52 +0200 Subject: [PATCH 1/3] [ticket/10839] Always run functional tests by default They are skipped anyway, if $phpbb_functional_url is not configured. If you want to run tests without functional tests, just append --exclude-group functional to your call PHPBB3-10839 --- phpunit.xml.dist | 9 ++++----- phpunit.xml.functional | 39 --------------------------------------- 2 files changed, 4 insertions(+), 44 deletions(-) delete mode 100644 phpunit.xml.functional diff --git a/phpunit.xml.dist b/phpunit.xml.dist index f5871e2eeb..c4906e42fe 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -15,19 +15,18 @@ ./tests ./tests/functional - tests/lint_test.php - - - tests/lint_test.php + ./tests/lint_test.php ./tests/functional + + ./tests/lint_test.php + - functional slow diff --git a/phpunit.xml.functional b/phpunit.xml.functional deleted file mode 100644 index 9f3033b074..0000000000 --- a/phpunit.xml.functional +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - ./tests - ./tests/functional - tests/lint_test.php - - - tests/lint_test.php - - - ./tests/functional - - - - - - functional - - - - - - ./tests - - - From 8a9b1a8fed0218a44ddec6577d46838d890b2ed5 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 9 May 2014 11:09:18 +0200 Subject: [PATCH 2/3] [ticket/10839] Removing phpunit.xml.all To run all tests, just append --group slow to your call PHPBB3-10839 --- phpunit.xml.all | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 phpunit.xml.all diff --git a/phpunit.xml.all b/phpunit.xml.all deleted file mode 100644 index b73b8873f6..0000000000 --- a/phpunit.xml.all +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - ./tests - ./tests/functional - tests/lint_test.php - - - tests/lint_test.php - - - ./tests/functional - - - - - - ./tests - - - From 333120a9921d8b36914965540d2d513cb939dc51 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 9 May 2014 11:13:10 +0200 Subject: [PATCH 3/3] [ticket/10839] Fix note about running slow tests and build task PHPBB3-10839 --- build/build.xml | 1 - tests/RUNNING_TESTS.md | 14 +++++++++----- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/build/build.xml b/build/build.xml index a86cb9c36b..5ea77bd9e1 100644 --- a/build/build.xml +++ b/build/build.xml @@ -67,7 +67,6 @@