diff options
author | Benjamin Berg <bberg@redhat.com> | 2021-08-26 14:26:40 +0200 |
---|---|---|
committer | Benjamin Berg <benjamin@sipsolutions.net> | 2021-09-15 15:06:06 +0000 |
commit | b3d6bf082553f37455ccaa811a507b43332128ce (patch) | |
tree | 6815f1daee849d440fda22942cd0f56d74a2904c /tests | |
parent | fc65055279ce2091cbc9b6adeea99c55ab83927f (diff) |
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.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/fprintd.py | 2 |
1 files changed, 2 insertions, 0 deletions
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') |