Skip to content

Commit 7ab0d5f

Browse files
wolfsagekhwilliamson
authored andcommitted
Use the correct path for valgrind logs in make test.valgrind
1 parent 2813d4a commit 7ab0d5f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

t/TEST

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,8 @@ sub _cmd {
315315
my $perl_supp = $options->{return_dir} ? "$options->{return_dir}/perl.supp" : "perl.supp";
316316
my $valgrind_exe = $ENV{VALGRIND} // 'valgrind';
317317
if ($options->{run_dir}) {
318-
$Valgrind_Log = "$options->{run_dir}/$Valgrind_Log";
318+
require Cwd;
319+
$Valgrind_Log = Cwd::abs_path("$options->{run_dir}/$Valgrind_Log");
319320
}
320321
my $vg_opts = $ENV{VG_OPTS}
321322
// "--log-file=$Valgrind_Log "

0 commit comments

Comments
 (0)