[ostree] tests: Make GLib warnings fatal
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree] tests: Make GLib warnings fatal
- Date: Fri, 4 Nov 2011 22:14:37 +0000 (UTC)
commit 889f454cb1c566f48c8d44b2b12dbfb2c6c7cbf6
Author: Colin Walters <walters verbum org>
Date: Fri Nov 4 15:58:32 2011 -0400
tests: Make GLib warnings fatal
tests/libtest.sh | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/tests/libtest.sh b/tests/libtest.sh
index a747019..5c8d722 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"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]