mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-08 20:03:34 +02:00
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.
This commit is contained in:
committed by
Benjamin Berg
parent
fc65055279
commit
b3d6bf0825
@ -237,6 +237,8 @@ class FPrintdTest(dbusmock.DBusTestCase):
|
|||||||
env['G_DEBUG'] = 'fatal-criticals'
|
env['G_DEBUG'] = 'fatal-criticals'
|
||||||
env['STATE_DIRECTORY'] = (self.state_dir + ':' + '/hopefully/a/state_dir_path/that/shouldnt/be/writable')
|
env['STATE_DIRECTORY'] = (self.state_dir + ':' + '/hopefully/a/state_dir_path/that/shouldnt/be/writable')
|
||||||
env['RUNTIME_DIRECTORY'] = self.run_dir
|
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']
|
argv = [self.paths['daemon'], '-t']
|
||||||
valgrind = os.getenv('VALGRIND')
|
valgrind = os.getenv('VALGRIND')
|
||||||
|
|||||||
Reference in New Issue
Block a user