mirror of https://github.com/YosysHQ/yosys.git
tests: add design -delete tests
This commit is contained in:
parent
a9ec0defb9
commit
e8a841467f
|
@ -0,0 +1,9 @@
|
|||
read_verilog <<EOT
|
||||
module top(input i, output o);
|
||||
assign o = i;
|
||||
endmodule
|
||||
EOT
|
||||
design -stash foo
|
||||
design -delete foo
|
||||
logger -expect error "No saved design 'foo' found!" 1
|
||||
design -delete foo
|
|
@ -0,0 +1,9 @@
|
|||
read_verilog <<EOT
|
||||
module top(input i, output o);
|
||||
assign o = i;
|
||||
endmodule
|
||||
EOT
|
||||
design -stash foo
|
||||
design -delete foo
|
||||
logger -expect error "No saved design 'foo' found!" 1
|
||||
design -load foo
|
Loading…
Reference in New Issue