mirror of
https://github.com/YosysHQ/sby.git
synced 2025-04-23 05:15:30 +00:00
Merge pull request #145 from nakengelhardt/fix_junit_tracefile
junit: handle multiple asserts failing with the same trace
This commit is contained in:
commit
53abf14514
2 changed files with 28 additions and 5 deletions
22
tests/2props1trace.sby
Normal file
22
tests/2props1trace.sby
Normal file
|
@ -0,0 +1,22 @@
|
|||
[options]
|
||||
mode bmc
|
||||
depth 1
|
||||
expect fail
|
||||
|
||||
[engines]
|
||||
smtbmc
|
||||
|
||||
[script]
|
||||
read -sv top.sv
|
||||
prep -top top
|
||||
|
||||
[file top.sv]
|
||||
module top(
|
||||
input foo,
|
||||
input bar
|
||||
);
|
||||
always @(*) begin
|
||||
assert (foo);
|
||||
assert (bar);
|
||||
end
|
||||
endmodule
|
Loading…
Add table
Add a link
Reference in a new issue