From a1aefd2330f4bdf2b5a27614945568a013c8223f Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Fri, 28 Nov 2014 20:54:55 -0500 Subject: [PATCH] Tests: Check for bug509. --- test_regress/t/t_bitsel_wire_array_bad.pl | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/test_regress/t/t_bitsel_wire_array_bad.pl b/test_regress/t/t_bitsel_wire_array_bad.pl index b2b725f30..3a68ce074 100755 --- a/test_regress/t/t_bitsel_wire_array_bad.pl +++ b/test_regress/t/t_bitsel_wire_array_bad.pl @@ -10,13 +10,12 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di # Comple time only test compile ( - verilator_flags2 => ["--lint-only"], - fails=>1, -# expect=> -# TBD better error message, bug509 -#'.* -#%Error: Exiting due to.*', - ); + verilator_flags2 => ["--lint-only"], + fails=>1, + expect=> +'.*%Error: t/t_bitsel_wire_array_bad.v:\d+: Illegal assignment of constant to unpacked array +%Error: Exiting due to.*', + ); ok(1); 1;