aboutsummaryrefslogtreecommitdiff
path: root/engine/tests/suite.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/tests/suite.php')
-rwxr-xr-xengine/tests/suite.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/engine/tests/suite.php b/engine/tests/suite.php
index c3de185ff..8bb7d8064 100755
--- a/engine/tests/suite.php
+++ b/engine/tests/suite.php
@@ -29,8 +29,7 @@ foreach ($test_files as $file) {
// Only run tests in debug mode.
if (!isset($CONFIG->debug)) {
- // @todo display an error?
- exit (1);
+ exit ('The site must be in debug mode to run unit tests.');
}
if (TextReporter::inCli()) {