Fixed issue with xargs on Mac OS X.
Removed cleaning of reports folders, since this was interferring with coverage reports generated sequentially by rake test.
This commit is contained in:
@@ -45,12 +45,6 @@ end
|
|||||||
directory REPORT_DIR
|
directory REPORT_DIR
|
||||||
|
|
||||||
task :clean_test_files do
|
task :clean_test_files do
|
||||||
|
|
||||||
# Delete all files in the reports directory, while preserving
|
|
||||||
# the directory structure.
|
|
||||||
sh("find #{REPORT_DIR} -type f -print0 | xargs --no-run-if-empty -0 rm")
|
|
||||||
|
|
||||||
# Reset the test fixtures
|
|
||||||
sh("git clean -fqdx test_root")
|
sh("git clean -fqdx test_root")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user