summaryrefslogtreecommitdiffstats
path: root/application/controllers
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2016-08-20 15:19:15 +0200
committerFlorian Pritz <bluewind@xinu.at>2016-08-20 15:19:15 +0200
commit3ce4e928c606f2b3a1c393819ca4a1268e3b058b (patch)
treefbcbadbc18ced14be9bfb3f1b4b553eccda0ae33 /application/controllers
parentb7853a87ac0575f83793d5d6a7ed44849156e189 (diff)
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 <bluewind@xinu.at>
Diffstat (limited to 'application/controllers')
-rw-r--r--application/controllers/tools.php4
1 files changed, 1 insertions, 3 deletions
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;