From 45b0e63be234cf57b9838ceffa82729a70264509 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Wed, 16 Dec 2009 21:28:09 -0500 Subject: [PATCH] Tests: Allow TEST_VERBOSE in c code --- test_regress/Makefile_obj | 1 + test_regress/driver.pl | 1 + test_regress/t/t_udp.v | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/test_regress/Makefile_obj b/test_regress/Makefile_obj index cbdb78b7d..b169ce0a5 100644 --- a/test_regress/Makefile_obj +++ b/test_regress/Makefile_obj @@ -39,6 +39,7 @@ CPPFLAGS += -DVERILATOR=1 CPPFLAGS += -DVL_DEBUG=1 CPPFLAGS += -DVM_PREFIX=$(VM_PREFIX) CPPFLAGS += $(CPPFLAGS_DRIVER) +CPPFLAGS += $(CPPFLAGS_DRIVER2) CPPFLAGS += $(CPPFLAGS_ADD) ####################################################################### diff --git a/test_regress/driver.pl b/test_regress/driver.pl index 639e744f4..ab90f257d 100755 --- a/test_regress/driver.pl +++ b/test_regress/driver.pl @@ -483,6 +483,7 @@ sub compile { "make", "-f".getcwd()."/Makefile_obj", "VM_PREFIX=$self->{VM_PREFIX}", "CPPFLAGS_DRIVER=-D".uc($self->{name}), + ($opt_verbose ? "CPPFLAGS_DRIVER2=-DTEST_VERBOSE=1":""), ($param{make_main}?"":"MAKE_MAIN=0"), ($param{benchmark}?"OPT_FAST=-O2":""), "$self->{VM_PREFIX}", # bypass default rule, as we don't need archive diff --git a/test_regress/t/t_udp.v b/test_regress/t/t_udp.v index 1bdaa6ec5..ab3ba677f 100644 --- a/test_regress/t/t_udp.v +++ b/test_regress/t/t_udp.v @@ -40,7 +40,7 @@ module t (/*AUTOARG*/ reg [1:0] ql; reg [1:0] qd; - initial $display("****FIXME: No sequential tables\n"); + // No sequential tables, yet // always @* begin // if (!clk) ql = in[13:12]; // end