From 3ce4e928c606f2b3a1c393819ca4a1268e3b058b Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sat, 20 Aug 2016 15:19:15 +0200 Subject: tests: Use one webserver per testcase This allows the tests to run somewhat parallel (still limited by the database) and simplifies running single testcases without the ./run-tests.sh wrapper. Signed-off-by: Florian Pritz --- application/controllers/tools.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'application/controllers/tools.php') diff --git a/application/controllers/tools.php b/application/controllers/tools.php index 7808b11cf..c3209e8f7 100644 --- a/application/controllers/tools.php +++ b/application/controllers/tools.php @@ -70,15 +70,13 @@ class Tools extends MY_Controller { function test() { global $argv; - $url = $argv[3]; - $testcase = $argv[4]; + $testcase = $argv[3]; $testcase = str_replace("application/", "", $testcase); $testcase = str_replace("/", "\\", $testcase); $testcase = str_replace(".php", "", $testcase); $test = new $testcase(); - $test->setServer($url); $exitcode = 0; -- cgit v1.2.3-24-g4f1b