Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed path to naith

  • Loading branch information...
commit 8500db2e71fee1acf4c6041b10190131ac082d6a 1 parent 3fc1ebd
DracoBlue authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/code_coverage_test.php
4 tests/code_coverage_test.php
View
@@ -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);
Please sign in to comment.
Something went wrong with that request. Please try again.