From 9c0166507888786697cf37e933761c979b3ea810 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Fri, 10 Jul 2020 22:05:51 -0400 Subject: [PATCH] Tests: Fix bison stability. --- test_regress/t/t_pp_circdef_bad.out | 3 --- test_regress/t/t_pp_circdef_bad.pl | 3 ++- 2 files changed, 2 insertions(+), 4 deletions(-) delete mode 100644 test_regress/t/t_pp_circdef_bad.out diff --git a/test_regress/t/t_pp_circdef_bad.out b/test_regress/t/t_pp_circdef_bad.out deleted file mode 100644 index 867858a16..000000000 --- a/test_regress/t/t_pp_circdef_bad.out +++ /dev/null @@ -1,3 +0,0 @@ -%Error: t/t_pp_circdef_bad.v:14:21985: Recursive `define or other nested inclusion -%Error: t/t_pp_circdef_bad.v:14:3009: syntax error, unexpected $end, expecting TYPE-IDENTIFIER -%Error: Exiting due to diff --git a/test_regress/t/t_pp_circdef_bad.pl b/test_regress/t/t_pp_circdef_bad.pl index a5846c699..98a317817 100755 --- a/test_regress/t/t_pp_circdef_bad.pl +++ b/test_regress/t/t_pp_circdef_bad.pl @@ -12,7 +12,8 @@ scenarios(vlt => 1); lint( fails => 1, - expect_filename => $Self->{golden_filename}, + # EOF result varies with Bison version, so can't use .out + expect => qr/define or other nested inclusion/, ); ok(1);