mirror of
https://github.com/YosysHQ/sby.git
synced 2025-11-03 14:27:53 +00:00
Test property statuses for cover_assert
Cover properties shouldn't be marked fail when the test failed early due to an assertion. This should fail without other changes.
This commit is contained in:
parent
4d8462b58e
commit
911ae02ee5
5 changed files with 105 additions and 0 deletions
24
tests/statusdb/mixed.sby
Normal file
24
tests/statusdb/mixed.sby
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
[tasks]
|
||||
no_assert cover
|
||||
assert cover
|
||||
bmc
|
||||
|
||||
[options]
|
||||
cover: mode cover
|
||||
bmc: mode bmc
|
||||
bmc: depth 1
|
||||
|
||||
assert: cover_assert on
|
||||
no_assert: expect pass
|
||||
~no_assert: expect fail
|
||||
|
||||
[engines]
|
||||
cover: smtbmc boolector
|
||||
bmc: smtbmc boolector
|
||||
|
||||
[script]
|
||||
read -formal mixed.v
|
||||
prep -top test
|
||||
|
||||
[files]
|
||||
mixed.v
|
||||
Loading…
Add table
Add a link
Reference in a new issue