mirror of
https://github.com/Feliix42/ssd1675.git
synced 2024-11-23 11:16:30 +00:00
Fix code coverage script
This commit is contained in:
parent
2de56e9a39
commit
1f5138aac9
1 changed files with 4 additions and 3 deletions
|
@ -16,9 +16,10 @@ make install DESTDIR=../../kcov-build
|
||||||
cd ../..
|
cd ../..
|
||||||
rm -rf "kcov-$KCOV_VERSION"
|
rm -rf "kcov-$KCOV_VERSION"
|
||||||
|
|
||||||
for file in target/debug/"$CRATE"-*[^\.d]; do
|
for file in target/debug/deps/"$CRATE"-*; do
|
||||||
mkdir -p "target/cov/$(basename "$file")";
|
[ -x "${file}" ] || continue
|
||||||
./kcov-build/usr/local/bin/kcov --exclude-pattern=/.cargo,/usr/lib --verify "target/cov/$(basename "$file")" "$file";
|
mkdir -p "target/cov/$(basename "$file")"
|
||||||
|
./kcov-build/usr/local/bin/kcov --exclude-pattern=/.cargo,/usr/lib --verify "target/cov/$(basename "$file")" "$file"
|
||||||
done
|
done
|
||||||
|
|
||||||
bash <(curl -s https://codecov.io/bash)
|
bash <(curl -s https://codecov.io/bash)
|
||||||
|
|
Loading…
Reference in a new issue