From 7db35ec7a887ffdd90b2c8cfcc53f945600252d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Mi=C4=85sko?= Date: Sun, 7 Apr 2019 00:00:00 +0000 Subject: [PATCH] tests: Check that option-argv0 test succeeds on Linux To avoid potential regression in feature check that configures `HAVE_PROC_SELF_CMDLINE` treat test failures on Linux as fatal. This restores behaviour from before 4c038a27ff14170141f62f3ab61a6fa7c4747f09. --- glib/tests/option-argv0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glib/tests/option-argv0.c b/glib/tests/option-argv0.c index 199eac17c..f977625b5 100644 --- a/glib/tests/option-argv0.c +++ b/glib/tests/option-argv0.c @@ -60,7 +60,7 @@ test_platform_argv0 (void) * to prevent them from crashing hard on failed assertions, * and make them call g_test_skip() instead. */ -#if !defined HAVE_PROC_SELF_CMDLINE && !defined __OpenBSD__ +#if !defined HAVE_PROC_SELF_CMDLINE && !defined __OpenBSD__ && !defined __linux fatal_errors = FALSE; #endif