Merge branch 'develop' of projects.ceondo.com:indefero into develop

This commit is contained in:
Thomas Keller 2011-04-27 00:08:10 +02:00
commit 2176d1cde2

View File

@ -5,6 +5,9 @@ if (!file_exists($config_file)) {
die("'test/config.php' does not exist\n"); die("'test/config.php' does not exist\n");
} }
// prevents function calls in Pluf that break tests under php-cli
define('IN_UNIT_TESTS', 1);
echo ">>> setting paths...\n"; echo ">>> setting paths...\n";
define('SRCDIR', realpath(dirname(__FILE__) . '/../src')); define('SRCDIR', realpath(dirname(__FILE__) . '/../src'));
define('TESTDIR', dirname(__FILE__)); define('TESTDIR', dirname(__FILE__));