SILENCE_STDOUT
⚠️ Deprecated ⚠️
This is deprecated since version 2.38.
#GTestTrapFlags is used only with g_test_trap_fork(), which is deprecated. g_test_trap_subprocess() uses #GTestSubprocessFlags.
Redirect stdout of the test child to /dev/null
so it cannot be observed on the console during test runs. The actual output is still captured though to allow later tests with g_test_trap_assert_stdout().