Merge pull request #453 from pganssle/fix_coverage_comment

Fix inaccurate comment
This commit is contained in:
Yuji Kanagawa 2019-04-19 13:29:42 +09:00 committed by GitHub
commit 77f0974daf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,12 +2,14 @@
set -ex set -ex
### Run kcov in parallel ####################################################### ### Run kcov ###################################################################
rm -f target/debug/pyo3*.d rm -f target/debug/pyo3*.d
rm -f target/debug/test_*.d rm -f target/debug/test_*.d
rm -f target/debug/test_doc-* rm -f target/debug/test_doc-*
# Note: On travis this is run with -P1 because it started failing with
# `-P $(nproc)`. kcov can probably be run in parallel if used with different CI
FILES=$(find . -path ./target/debug/pyo3\* -or -path ./target/debug/test_\*) FILES=$(find . -path ./target/debug/pyo3\* -or -path ./target/debug/test_\*)
echo $FILES | xargs -n1 -P1 sh -c ' echo $FILES | xargs -n1 -P1 sh -c '
dir="target/cov/$(basename $@)" dir="target/cov/$(basename $@)"