Added back tests for logger

This commit is contained in:
Miodrag Milanovic 2020-03-13 15:00:18 +01:00
parent 7c54e61979
commit 5b73e7c63a
4 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,6 @@
logger -werror "is implicitly declared." -expect error "is implicitly declared." 1
read_verilog << EOF
module top(...);
assign b = w;
endmodule
EOF

View File

@ -0,0 +1,6 @@
logger -expect-no-warnings -nowarn "is implicitly declared."
read_verilog << EOF
module top(...);
assign b = w;
endmodule
EOF

View File

@ -0,0 +1,6 @@
logger -warn "Successfully finished Verilog frontend." -expect warning "Successfully finished Verilog frontend." 1
read_verilog << EOF
module top(...);
assign b = w;
endmodule
EOF

View File

@ -0,0 +1,6 @@
logger -expect warning "is implicitly declared." 2
read_verilog << EOF
module top(...);
assign b = w;
endmodule
EOF