mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-03 01:40:23 +00:00
raise_error: Extra test
This commit is contained in:
parent
895dfd963f
commit
f78cd9d13f
1 changed files with 6 additions and 0 deletions
|
@ -26,6 +26,12 @@ bugpoint -suffix error -yosys ../../yosys -command raise_error -expect-return 7
|
|||
select -assert-mod-count 1 =*
|
||||
select -assert-mod-count 1 top
|
||||
|
||||
# raise_error -always still uses 'raise_error' attribute if possible
|
||||
design -load read
|
||||
bugpoint -suffix error -yosys ../../yosys -command "raise_error -always" -expect-return 7
|
||||
select -assert-mod-count 1 =*
|
||||
select -assert-mod-count 1 top
|
||||
|
||||
# raise_error with string prints message and exits with 1
|
||||
design -load read
|
||||
rename top abc
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue