Skip to content

Commit

Permalink
box_derive: Tune the test
Browse files Browse the repository at this point in the history
  • Loading branch information
povik committed May 29, 2024
1 parent b230c95 commit 97fedff
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/various/box_derive.ys
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ endmodule
EOF

box_derive -naming_attr final_name top

select -assert-mod-count 1 =aa1
select -assert-mod-count 1 =aa2
select -assert-mod-count 0 =aa3

select -assert-mod-count 1 =bb1
select -assert-mod-count 0 =bb2
select -assert-mod-count 1 =bb3
Expand All @@ -43,5 +48,6 @@ select -assert-mod-count 1 =cc1
select -assert-mod-count 0 =cc2
select -assert-mod-count 0 =cc3

# the original aa, bb, cc, and 5 specializations
# we are expecting the original aa, bb, cc modules
# and 5 specializations generated by box_derive
select -assert-mod-count 8 =A:whitebox

0 comments on commit 97fedff

Please sign in to comment.