From e4c17022c8ddbc546de2f10c600ac057679dfb7f Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Mon, 19 Oct 2020 11:06:36 -0400 Subject: [PATCH] TT#14008 use G_SLICE=debug-blocks in tests Change-Id: I235ed0b4a13e7c496786d20decf4fe3ef25fc704 --- perl/NGCP/Rtpengine/AutoTest.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/perl/NGCP/Rtpengine/AutoTest.pm b/perl/NGCP/Rtpengine/AutoTest.pm index 3976da36c..2ac60c90d 100644 --- a/perl/NGCP/Rtpengine/AutoTest.pm +++ b/perl/NGCP/Rtpengine/AutoTest.pm @@ -46,6 +46,7 @@ sub autotest_start { $rtpe_stderr = File::Temp::tempfile() or die; SKIP: { skip 'daemon is running externally', 1 if $ENV{RTPE_TEST_NO_LAUNCH}; + local $ENV{GLIB_SLICE} = 'debug-blocks'; $rtpe_pid = open3(undef, '>&'.fileno($rtpe_stdout), '>&'.fileno($rtpe_stderr), $ENV{RTPE_BIN}, @cmdline); ok $rtpe_pid, 'daemon launched in background';