1
0
mirror of synced 2026-03-27 18:50:03 +00:00

raise_error: Extra test

This commit is contained in:
Krystine Sherwin
2025-08-02 14:54:32 +12:00
parent 895dfd963f
commit f78cd9d13f

View File

@@ -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