putenv("TEST_PHP_EXECUTABLE=$php");
$ip = ini_get("include_path");
$ps = OS_WINDOWS ? ';' : ':';
- $run_tests = $this->config->get('php_dir') . DIRECTORY_SEPARATOR . 'run-tests.php';
+ $run_tests = $rtsts = $this->config->get('php_dir') . DIRECTORY_SEPARATOR . 'run-tests.php';
if (!file_exists($run_tests)) {
$run_tests = PEAR_INSTALL_DIR . DIRECTORY_SEPARATOR . 'run-tests.php';
if (!file_exists($run_tests)) {
- return $this->raiseError("No `run-tests.php' file found");
+ return $this->raiseError("No `run-tests.php' file found at $rtsts. You need ".
+ "to copy there the run-tests.php file located ".
+ "inside the sources of your php distribution package, ".
+ "in order to make this command available.");
}
}
$plist = implode(" ", $params);
fwrite($wp, $spec_contents);
fclose($wp);
$this->ui->outputData("Wrote RPM spec file $spec_file", $command);
-
+
return true;
}