From 33577eaa68dd268694ec54e8bed6be4a459ddb59 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Sun, 29 Apr 2012 08:23:24 -0400 Subject: [PATCH] Tests: Less sensitivity to XML change --- test_regress/t/t_xml_first.out | 86 ---------------------------------- test_regress/t/t_xml_first.pl | 4 +- 2 files changed, 2 insertions(+), 88 deletions(-) delete mode 100755 test_regress/t/t_xml_first.out diff --git a/test_regress/t/t_xml_first.out b/test_regress/t/t_xml_first.out deleted file mode 100755 index 06897ec83..000000000 --- a/test_regress/t/t_xml_first.out +++ /dev/null @@ -1,86 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/test_regress/t/t_xml_first.pl b/test_regress/t/t_xml_first.pl index 7a95f3b37..366518305 100755 --- a/test_regress/t/t_xml_first.pl +++ b/test_regress/t/t_xml_first.pl @@ -9,7 +9,6 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di $Self->{vlt} or $Self->skip("Verilator only test"); -$Self->{golden_out} ||= "t/$Self->{name}.out"; my $out_filename = "$Self->{obj_dir}/V$Self->{name}.xml"; compile ( @@ -17,6 +16,7 @@ compile ( verilator_make_gcc => 0, ); -ok(files_identical($out_filename, $Self->{golden_out})); +file_grep ($out_filename, qr//); +ok(1); 1;