diff options
author | nickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-10-21 16:09:43 +0000 |
---|---|---|
committer | nickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-10-21 16:09:43 +0000 |
commit | 734e8279272e81a27fec8ef1327e8eab38dc07ce (patch) | |
tree | 5dc015d86e97adab1ae8b81bd55ba032820e9bfa /engine/tests | |
parent | 2a577a42b48312f68c86c5fd7f80a7128605a599 (diff) | |
download | elgg-734e8279272e81a27fec8ef1327e8eab38dc07ce.tar.gz elgg-734e8279272e81a27fec8ef1327e8eab38dc07ce.tar.bz2 |
Reducing the output level of log messages set to "DEBUG".
Debug level messages will be logged at the same level as warnings.
Additionally, users will be notified when attempting to run the test suite without first placing the site in debug mode.
git-svn-id: http://code.elgg.org/elgg/trunk@3567 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/tests')
-rwxr-xr-x | engine/tests/suite.php | 3 |
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()) { |