From b3d6bf082553f37455ccaa811a507b43332128ce Mon Sep 17 00:00:00 2001 From: Benjamin Berg Date: Thu, 26 Aug 2021 14:26:40 +0200 Subject: [PATCH] tests: Set G_MESSAGES_DEBUG=all for daemon as it is needed Otherwise executing the test script outside of the meson environment will fail as the inhibitor test relies on being able to parse the log. --- tests/fprintd.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/fprintd.py b/tests/fprintd.py index bd9c179..aae8ddb 100644 --- a/tests/fprintd.py +++ b/tests/fprintd.py @@ -237,6 +237,8 @@ class FPrintdTest(dbusmock.DBusTestCase): env['G_DEBUG'] = 'fatal-criticals' env['STATE_DIRECTORY'] = (self.state_dir + ':' + '/hopefully/a/state_dir_path/that/shouldnt/be/writable') env['RUNTIME_DIRECTORY'] = self.run_dir + # The tests parses the debug output for suspend inhibitor debugging + env['G_MESSAGES_DEBUG'] = 'all' argv = [self.paths['daemon'], '-t'] valgrind = os.getenv('VALGRIND')