Skip to content

Commit 7243f99

Browse files
committed
fix(test): pass --workspace for kani invocation
It seems that with the newer kani versions, we need to explicitly pass --workspace to get it to pick up harnesses from within workspace crates. Signed-off-by: Patrick Roy <[email protected]>
1 parent d1b9a5a commit 7243f99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration_tests/test_kani.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def test_kani(results_dir):
3434
# --output-format terse is required by -j
3535
# -Z unstable-options is needed to enable the other `-Z` flags
3636
_, stdout, _ = utils.check_output(
37-
"cargo kani -Z unstable-options -Z stubbing -Z function-contracts -Z restrict-vtable -j --output-format terse --harness-timeout 40m",
37+
"cargo kani -Z unstable-options -Z stubbing -Z function-contracts -Z restrict-vtable -j --output-format terse --harness-timeout 40m --workspace",
3838
timeout=TIMEOUT,
3939
)
4040

0 commit comments

Comments
 (0)