aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2010-02-07 16:50:17 +0000
committercweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2010-02-07 16:50:17 +0000
commit3b656954e0ef123757032468d8dedd7184b9afa1 (patch)
tree679476d3ac2465552be059d04ea16177dd92a505
parentdf7a5915700e689acc8b878a2830da3fa1b447b8 (diff)
downloadsemanticscuttle-3b656954e0ef123757032468d8dedd7184b9afa1.tar.gz
semanticscuttle-3b656954e0ef123757032468d8dedd7184b9afa1.tar.bz2
tell people that debugmode and mysql4 will break some tests
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@638 b3834d28-1941-0410-a4f8-b48e95affb8f
-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