From 3b656954e0ef123757032468d8dedd7184b9afa1 Mon Sep 17 00:00:00 2001 From: cweiske Date: Sun, 7 Feb 2010 16:50:17 +0000 Subject: [PATCH] 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 --- tests/prepare.php | 8 ++++++++ 1 file changed, 8 insertions(+) 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