Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: Call g_test_init() before isolated_test_dir_global_setup()
g_test_init() is meant to be called before any other use of GTest APIs, and isolated_test_dir_global_setup() can call g_test_message(). GLib 2.76 makes this more of a practical problem. (isolated_test_dir_global_setup() is essentially a reimplementation of G_TEST_OPTION_ISOLATE_DIRS, since we don't depend on GLib 2.60.) Alternative to #5355. Signed-off-by: Simon McVittie <smcv@collabora.com>
- Loading branch information