[gnome-bluetooth/wip/hadess/more-tests: 4/4] tests: Make sure to fail tests if warnings are emitted
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth/wip/hadess/more-tests: 4/4] tests: Make sure to fail tests if warnings are emitted
- Date: Tue, 16 Feb 2021 16:38:20 +0000 (UTC)
commit ad5c6921b8206881d5b93c77968202bfb16ec7e4
Author: Bastien Nocera <hadess hadess net>
Date: Tue Feb 16 17:33:55 2021 +0100
tests: Make sure to fail tests if warnings are emitted
tests/integration-test | 1 +
1 file changed, 1 insertion(+)
---
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(
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]