summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2021-02-16 17:33:55 +0100
committerBastien Nocera <hadess@hadess.net>2021-02-16 17:33:55 +0100
commitad5c6921b8206881d5b93c77968202bfb16ec7e4 (patch)
tree23fb82ed4bf4ff4d183a495373d2ec78e4a4d20b
parente4a0471ad9a35820126ef2d836f117d58b949e58 (diff)
downloadgnome-bluetooth-wip/hadess/more-tests.tar.gz
tests: Make sure to fail tests if warnings are emittedwip/hadess/more-tests
-rwxr-xr-xtests/integration-test1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/integration-test b/tests/integration-test
index ea7e8368..779cc141 100755
--- a/tests/integration-test
+++ b/tests/integration-test
@@ -138,6 +138,7 @@ class Tests(dbusmock.DBusTestCase):
@classmethod
def setUpClass(cls):
os.environ['G_MESSAGES_DEBUG'] = 'all'
+ os.environ['G_DEBUG'] = 'fatal_warnings'
cls.start_system_bus()
cls.dbus_con = cls.get_dbus(True)
(cls.p_mock, cls.obj_bluez) = cls.spawn_server_template(