Skip to content

Commit

Permalink
add test for immediately failing concolic test
Browse files Browse the repository at this point in the history
  • Loading branch information
zapashcanon committed Jun 3, 2024
1 parent 730a977 commit ecd9825
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/conc/dune
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
(cram
(deps %{bin:owi} immediately_fail.wat))
7 changes: 7 additions & 0 deletions test/conc/immediately_fail.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
$ owi conc immediately_fail.wat
Assert failure
Model:
(model
)
Reached problem!
[13]
6 changes: 6 additions & 0 deletions test/conc/immediately_fail.wat
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
(module
(import "symbolic" "assert" (func $assert (param i32)))
(func $f
(i32.const 0)
(call $assert))
(start $f))

0 comments on commit ecd9825

Please sign in to comment.