Module: GLib::TestTrapFlags

Defined in:
(unknown)

Constant Summary collapse

DEFAULT =

Default behaviour. Since: 2.74

0 or :default
SILENCE_STDOUT =

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().

128 or :silence_stdout
SILENCE_STDERR =

Redirect stderr 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_stderr().

256 or :silence_stderr
INHERIT_STDIN =

If this flag is given, stdin of the child process is shared with stdin of its parent process. It is redirected to /dev/null otherwise.

512 or :inherit_stdin