From a816c2b75e2db77e96ea886f9a6d65164c042f12 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Wed, 16 Dec 2020 19:38:35 -0500 Subject: [PATCH] Tests: Fix hardcoded path in last test --- test_regress/t/t_vpi_release_dup_bad.out | 2 -- test_regress/t/t_vpi_release_dup_bad.pl | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) delete mode 100644 test_regress/t/t_vpi_release_dup_bad.out diff --git a/test_regress/t/t_vpi_release_dup_bad.out b/test_regress/t/t_vpi_release_dup_bad.out deleted file mode 100644 index fdb02d67b..000000000 --- a/test_regress/t/t_vpi_release_dup_bad.out +++ /dev/null @@ -1,2 +0,0 @@ -%Error: /svaha/wsnyder/SandBox/homecvs/v4/verilator/test_regress/../include/verilated_vpi.cpp:99: vpi_release_handle() called on same object twice, or on non-Verilator VPI object -Aborting... diff --git a/test_regress/t/t_vpi_release_dup_bad.pl b/test_regress/t/t_vpi_release_dup_bad.pl index ee70f0752..2fa1154c0 100755 --- a/test_regress/t/t_vpi_release_dup_bad.pl +++ b/test_regress/t/t_vpi_release_dup_bad.pl @@ -17,9 +17,10 @@ compile( execute( fails => 1, - expect_filename => $Self->{golden_filename}, ); +file_grep($Self->{run_log_filename}, qr/vpi_release_handle.*called on same object twice/i); + ok(1); 1;