Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Commit

Permalink
Remove test files from dart coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
cjlucas committed Aug 16, 2015
1 parent a809622 commit 608ba78
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tool/send_coveralls.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
#!/bin/bash

rm -rf coverage > /dev/null
mkdir coverage

for f in test/*_test.dart; do
dart_coveralls report --dry-run -p $f | python tool/scrape_json.py > coverage/$(basename $f).json
echo "Covering $f"
dart_coveralls report -T --dry-run -p $f | python tool/scrape_json.py > coverage/$(basename $f).json
done

echo "Covering cpp"
cpp-coveralls -b lib/src -t faketoken --dump coverage/cpp_coverage.json

python tool/coveralls_merge.py coverage/*

0 comments on commit 608ba78

Please sign in to comment.