From: cweiske Date: Sun, 7 Feb 2010 16:50:17 +0000 (+0000) Subject: tell people that debugmode and mysql4 will break some tests X-Git-Tag: v0.97~73 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=3b656954e0ef123757032468d8dedd7184b9afa1;p=semanticscuttle.git 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 --- 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