From fb51b00753cada92a63b7896915bcd690b1724cd Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Tue, 11 Jul 2023 15:19:06 -0400 Subject: [PATCH] MT#55283 fatal Glib warnings during tests Make all warnings from Glib fatal during system tests (as they already are during unit tests). Change-Id: Ibac5c87c0352a9b404e076c047cebf02e891f232 --- t/auto-test-helper | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/t/auto-test-helper b/t/auto-test-helper index 6181f91a7..e2cd0b25d 100755 --- a/t/auto-test-helper +++ b/t/auto-test-helper @@ -8,6 +8,7 @@ shift rm -rf fake-"$NAME"-sockets mkdir fake-"$NAME"-sockets -LD_PRELOAD=../t/tests-preload.so RTPE_BIN=../daemon/rtpengine TEST_SOCKET_PATH=./fake-"$NAME"-sockets "$@" +LD_PRELOAD=../t/tests-preload.so RTPE_BIN=../daemon/rtpengine TEST_SOCKET_PATH=./fake-"$NAME"-sockets \ + G_DEBUG=fatal-warnings "$@" test "$(ls fake-"$NAME"-sockets)" = "" rmdir fake-"$NAME"-sockets