summaryrefslogtreecommitdiff
path: root/tests/prepare.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/prepare.php')
-rw-r--r--tests/prepare.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/prepare.php b/tests/prepare.php
index 5cdcfcc..835810e 100644
--- a/tests/prepare.php
+++ b/tests/prepare.php
@@ -21,4 +21,12 @@ define('UNIT_TEST_MODE', true);
require_once dirname(__FILE__) . '/../src/SemanticScuttle/header.php';
require_once dirname(__FILE__) . '/TestBase.php';
+
+if ($GLOBALS['debugMode'] == true
+ && $GLOBALS['dbtype'] == 'mysql4'
+) {
+ echo "\n"
+ . '!!! The combination of debugMode and dbtype==mysql4'
+ . ' will wreck some tests' . "\n\n";
+}
?> \ No newline at end of file