Fix coverage: output binaries have moved in nightly

This commit is contained in:
Joseph Birr-Pixton 2020-06-08 21:23:50 +01:00
parent 8c6a76f877
commit 6f252aa812
1 changed files with 1 additions and 1 deletions

View File

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