From 3624a54f7fe9abda2de00b638733627ec09c6817 Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Sat, 24 Feb 2024 13:36:25 +0000 Subject: [PATCH] Add regression test for issue #1104. --- ivtest/ivltests/br_gh1104_src1.v | 5 +++++ ivtest/ivltests/br_gh1104_src2.v | 1 + ivtest/regress-vvp.list | 1 + ivtest/vvp_tests/br_gh1104.json | 5 +++++ 4 files changed, 12 insertions(+) create mode 100644 ivtest/ivltests/br_gh1104_src1.v create mode 100644 ivtest/ivltests/br_gh1104_src2.v create mode 100644 ivtest/vvp_tests/br_gh1104.json diff --git a/ivtest/ivltests/br_gh1104_src1.v b/ivtest/ivltests/br_gh1104_src1.v new file mode 100644 index 000000000..32f7dad35 --- /dev/null +++ b/ivtest/ivltests/br_gh1104_src1.v @@ -0,0 +1,5 @@ +module test; + +initial $display("FAILED"); + +endmodule diff --git a/ivtest/ivltests/br_gh1104_src2.v b/ivtest/ivltests/br_gh1104_src2.v new file mode 100644 index 000000000..6ae3f97ed --- /dev/null +++ b/ivtest/ivltests/br_gh1104_src2.v @@ -0,0 +1 @@ +`include "non-existant.v" diff --git a/ivtest/regress-vvp.list b/ivtest/regress-vvp.list index f13bf9f74..1d8a066cc 100644 --- a/ivtest/regress-vvp.list +++ b/ivtest/regress-vvp.list @@ -43,6 +43,7 @@ br_gh1087a3 vvp_tests/br_gh1087a3.json br_gh1087b vvp_tests/br_gh1087b.json br_gh1087c vvp_tests/br_gh1087c.json br_gh1099 vvp_tests/br_gh1099.json +br_gh1104 vvp_tests/br_gh1104.json ca_time_real` vvp_tests/ca_time_real.json case1 vvp_tests/case1.json case2 vvp_tests/case2.json diff --git a/ivtest/vvp_tests/br_gh1104.json b/ivtest/vvp_tests/br_gh1104.json new file mode 100644 index 000000000..c2d61c7eb --- /dev/null +++ b/ivtest/vvp_tests/br_gh1104.json @@ -0,0 +1,5 @@ +{ + "type" : "CE", + "source" : "br_gh1104_src2.v", + "iverilog-args" : [ "ivltests/br_gh1104_src1.v" ] +}