[glib: 1/2] tests: Check that option-argv0 test succeeds on Linux
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 1/2] tests: Check that option-argv0 test succeeds on Linux
- Date: Thu, 11 Apr 2019 16:46:37 +0000 (UTC)
commit 7db35ec7a887ffdd90b2c8cfcc53f945600252d4
Author: Tomasz Miąsko <tomasz miasko gmail com>
Date: Sun Apr 7 00:00:00 2019 +0000
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]