mirror of https://github.com/YosysHQ/yosys.git
tests: add select -unset tests
This commit is contained in:
parent
254d38ca67
commit
2623e335cc
|
@ -0,0 +1,10 @@
|
||||||
|
read_verilog <<EOT
|
||||||
|
module top(input i, output o);
|
||||||
|
assign o = i;
|
||||||
|
endmodule
|
||||||
|
EOT
|
||||||
|
select -set foo w:*
|
||||||
|
select -assert-any @foo
|
||||||
|
select -unset foo
|
||||||
|
logger -expect error "Selection '\\foo' does not exist!" 1
|
||||||
|
select -unset foo
|
|
@ -0,0 +1,10 @@
|
||||||
|
read_verilog <<EOT
|
||||||
|
module top(input i, output o);
|
||||||
|
assign o = i;
|
||||||
|
endmodule
|
||||||
|
EOT
|
||||||
|
select -set foo w:*
|
||||||
|
select -assert-any @foo
|
||||||
|
select -unset foo
|
||||||
|
logger -expect error "Selection @foo is not defined!" 1
|
||||||
|
select -list @foo
|
Loading…
Reference in New Issue