From 889f454cb1c566f48c8d44b2b12dbfb2c6c7cbf6 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Fri, 4 Nov 2011 15:58:32 -0400 Subject: [PATCH] tests: Make GLib warnings fatal --- tests/libtest.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/libtest.sh b/tests/libtest.sh index a747019e..5c8d722c 100644 --- a/tests/libtest.sh +++ b/tests/libtest.sh @@ -27,6 +27,8 @@ test_tmpdir=`mktemp -d "$TMPDIR/ostree-tests.XXXXXXXXXX"` cd "$test_tmpdir" touch "$test_tmpdir/.test$$" +export G_DEBUG=fatal-warnings + die () { if test -z "$OT_TESTS_SAVE_TEMPS"; then test -f "$test_tmpdir/.test$$" && rm -rf "$test_tmpdir"