tests: Make GLib warnings fatal
This commit is contained in:
1 parent
dd37e46172
commit
889f454cb1
1 file changed
+2
@@ -27,6 +27,8 @@ test_tmpdir=`mktemp -d "$TMPDIR/ostree-tests.XXXXXXXXXX"`
|
|||||||
cd "$test_tmpdir"
|
cd "$test_tmpdir"
|
||||||
touch "$test_tmpdir/.test$$"
|
touch "$test_tmpdir/.test$$"
|
||||||
|
|
||||||
|
export G_DEBUG=fatal-warnings
|
||||||
|
|
||||||
die () {
|
die () {
|
||||||
if test -z "$OT_TESTS_SAVE_TEMPS"; then
|
if test -z "$OT_TESTS_SAVE_TEMPS"; then
|
||||||
test -f "$test_tmpdir/.test$$" && rm -rf "$test_tmpdir"
|
test -f "$test_tmpdir/.test$$" && rm -rf "$test_tmpdir"
|
||||||
|
|||||||
Reference in new issue
Block a user