enable simulated proof failures for coverage

This commit is contained in:
Eric 2023-12-04 16:29:44 +11:00
parent 6fff02fd91
commit 5bbfaf9682
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ task coverage, "generates code coverage report":
if f.endswith(".nim"): nimSrcs.add " " & f.absolutePath.quoteShell() if f.endswith(".nim"): nimSrcs.add " " & f.absolutePath.quoteShell()
echo "======== Running Tests ======== " echo "======== Running Tests ======== "
test "coverage", srcDir = "tests/", params = " --nimcache:nimcache/coverage -d:release " test "coverage", srcDir = "tests/", params = " --nimcache:nimcache/coverage -d:release -d:codex_enable_proof_failures=true"
exec("rm nimcache/coverage/*.c") exec("rm nimcache/coverage/*.c")
rmDir("coverage"); mkDir("coverage") rmDir("coverage"); mkDir("coverage")
echo " ======== Running LCOV ======== " echo " ======== Running LCOV ======== "