tests: add design -delete tests

This commit is contained in:
Eddie Hung
2020-04-16 08:05:18 -07:00
parent a9ec0defb9
commit e8a841467f
2 changed files with 18 additions and 0 deletions
+9
View File
@@ -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
+9
View File
@@ -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