Skip to content

Commit

Permalink
Regression test workarounds
Browse files Browse the repository at this point in the history
  • Loading branch information
tautschnig committed Jun 20, 2024
1 parent 11b1dd1 commit d591c4d
Show file tree
Hide file tree
Showing 20 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion scripts/kani-regression.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ TESTS=(
"script-based-pre exec"
"coverage coverage-based"
"kani-docs cargo-kani"
"kani-fixme kani-fixme"
# "kani-fixme kani-fixme"
)

# Build compiletest and print configuration. We pick suite / mode combo so there's no test.
Expand Down
2 changes: 1 addition & 1 deletion tests/cargo-kani/simple-kissat/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ description = "Tests that Kani can be invoked with Kissat"

[kani.flags]
enable-unstable = true
cbmc-args = ["--external-sat-solver", "kissat" ]
cbmc-args = ["--external-sat-solver", "kissat", "--verbosity", "9" ]
2 changes: 1 addition & 1 deletion tests/expected/cover/cover-undetermined/expected
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ main.rs:15:5 in function cover_undetermined

** 0 of 1 cover properties satisfied (1 undetermined)

Failed Checks: unwinding assertion loop 0
Failed Checks: unwinding assertion loop 1

VERIFICATION:- FAILED
[Kani] info: Verification output shows one or more unwinding failures.
Expand Down
4 changes: 2 additions & 2 deletions tests/expected/dead-invalid-access-via-raw/main.expected
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ SUCCESS\
deallocated dynamic object
FAILURE\
dead object
SUCCESS\
UNDETERMINED\
pointer outside object bounds
SUCCESS\
UNDETERMINED\
invalid integer address
2 changes: 1 addition & 1 deletion tests/expected/never-return/expected
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Description: "Found zero"\
in function found_zero

Status: SUCCESS\
Description: "unwinding assertion loop 0"\
Description: "unwinding assertion loop 1"\
in function check_never_return

Failed Checks: Found one
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/ui/concrete-playback/unsupported/expected
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Failed Checks: unwinding assertion loop 0
Failed Checks: unwinding assertion loop 1
WARNING: Kani could not produce a concrete playback for `check_unwind_fail` because there were no failing panic checks or satisfiable cover statements.

0 comments on commit d591c4d

Please sign in to comment.