tests: Make GLib warnings fatal

This commit is contained in:
Colin Walters committed 2011-11-04 15:59:08 -04:00
1 parent dd37e46172
commit 889f454cb1
1 file changed
+2
+2
View File
@@ -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"