Merge branch 'linux-argv0' into 'master'

tests: Check that option-argv0 test succeeds on Linux

See merge request GNOME/glib!772
This commit is contained in:
Philip Withnall 2019-04-11 16:46:17 +00:00
commit 65b6aac4c2

View File

@ -60,7 +60,7 @@ test_platform_argv0 (void)
* to prevent them from crashing hard on failed assertions, * to prevent them from crashing hard on failed assertions,
* and make them call g_test_skip() instead. * 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; fatal_errors = FALSE;
#endif #endif