Modified:
/trunk/tests/runtests.php
=======================================
--- /trunk/tests/runtests.php Wed Jan 11 06:32:03 2012
+++ /trunk/tests/runtests.php Wed Jan 11 06:33:48 2012
@@ -2,6 +2,12 @@
if (!defined('PHPUnit_MAIN_METHOD')) {
define('PHPUnit_MAIN_METHOD', 'Moriarty_AllTests::main');
}
+
+// use environment variable to specify location of ARC2
+$moriarty_arc_dir = getenv("MORIARTY_ARC_DIR");
+if(!empty($moriarty_arc_dir)) {
+ define("MORIARTY_ARC_DIR", $moriarty_arc_dir);
+}
require_once dirname(dirname(__FILE__)) .
DIRECTORY_SEPARATOR . 'constants.inc.php';
require_once 'PHPUnit/TextUI/TestRunner.php';