Clean up coverage scripts

This commit is contained in:
Joseph Birr-Pixton 2017-07-19 20:46:11 +01:00
parent 751d434dd1
commit 63ad242efa
2 changed files with 1 additions and 2 deletions

View File

@ -16,7 +16,7 @@ def sh(cmd):
def cleanup():
sh('cargo clean')
sh("rm -rf *.gcda *.gcno cov/ && mkdir cov/")
sh("rm -rf *.gcda *.gcno")
def run(which):
exe = filter(lambda x: '.d' not in x, glob.glob('target/debug/' + which + '-*'))[0]

View File

@ -1,3 +1,2 @@
#!/bin/sh -e
echo "llvm-cov gcov $*"
llvm-cov gcov $*