[TESTMAN]

Looks like we can't fulfill our own rules here due to the way we're integrated into Drupal.
So use an absolute path for ROOT_PATH and explicitly mark this as a HACK..

svn path=/trunk/; revision=847
This commit is contained in:
Colin Finck 2014-03-02 16:22:34 +00:00
parent 89837994a4
commit e7cc77d1ef

View File

@ -6,10 +6,12 @@
COPYRIGHT: Copyright 2008-2011 Colin Finck <colin@reactos.org>
*/
define("TESTMAN_PATH", "");
// HACK: TESTMAN_PATH must be absolute here, because of the way we're integrated into Drupal. Should be fixed!
// Then INDICATORS_PATH can also depend on TESTMAN_PATH.
define("TESTMAN_PATH", realpath(__DIR__) . "/");
define("ROOT_PATH", TESTMAN_PATH . "../../../../../../");
define("SHARED_PATH", ROOT_PATH . "drupal/sites/default/shared/");
define("INDICATORS_PATH", TESTMAN_PATH . "indicators/");
define("INDICATORS_PATH", "indicators/");
define("DEFAULT_SEARCH_LIMIT", 10);
define("DEFAULT_SEARCH_SOURCE", "CMake_x86_GCCLin (KVM)");