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
This commit is contained in:
parent
df7a591570
commit
3b656954e0
1 changed files with 8 additions and 0 deletions
|
@ -21,4 +21,12 @@ define('UNIT_TEST_MODE', true);
|
||||||
|
|
||||||
require_once dirname(__FILE__) . '/../src/SemanticScuttle/header.php';
|
require_once dirname(__FILE__) . '/../src/SemanticScuttle/header.php';
|
||||||
require_once dirname(__FILE__) . '/TestBase.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";
|
||||||
|
}
|
||||||
?>
|
?>
|
Loading…
Reference in a new issue