Permalink
Browse files

fixed path to naith

  • Loading branch information...
1 parent 3fc1ebd commit 8500db2e71fee1acf4c6041b10190131ac082d6a @DracoBlue committed Apr 8, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/code_coverage_test.php
@@ -54,8 +54,8 @@
assert(file_exists($tests_report_path));
assert(file_exists($junit_xml_path));
-echo shell_exec('php /Volumes/development/workspaces/naith/naith.php make-coverage-overview --coverage_file_path ' . $coverage_file_path . ' --base_directory ' . $base_directory . ' --excluded_path ' . dirname(__FILE__));
-$untested_code = shell_exec('php /Volumes/development/workspaces/naith/naith.php make-untested-code-overview --coverage_file_path ' . $coverage_file_path . ' --base_directory ' . $base_directory . ' --excluded_path ' . dirname(__FILE__));
+echo shell_exec('php ' . $naith_executable . ' make-coverage-overview --coverage_file_path ' . $coverage_file_path . ' --base_directory ' . $base_directory . ' --excluded_path ' . dirname(__FILE__));
+$untested_code = shell_exec('php ' . $naith_executable . ' make-untested-code-overview --coverage_file_path ' . $coverage_file_path . ' --base_directory ' . $base_directory . ' --excluded_path ' . dirname(__FILE__));
echo $untested_code;
$untested_lines = array_slice(explode(PHP_EOL, $untested_code), 4, -1);

0 comments on commit 8500db2

Please sign in to comment.