[gnome-settings-daemon] power: Set --verbose during testing to force debug printing



commit 8b92770eec04a93527de2b0566f285f4061c4a96
Author: Benjamin Berg <bberg redhat com>
Date:   Thu Jan 4 15:22:34 2018 +0100

    power: Set --verbose during testing to force debug printing
    
    Otherwise debug information may not be printed making testing
    impossible.
    
    This regression was introduced in commit 198f7ea
    (plugins: Rename sources of all test applications).
    
    https://bugzilla.gnome.org/show_bug.cgi?id=792210

 plugins/power/test.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/power/test.py b/plugins/power/test.py
index 13425e9..f6cb954 100755
--- a/plugins/power/test.py
+++ b/plugins/power/test.py
@@ -94,7 +94,7 @@ class PowerPluginTest(gsdtestcase.GSDTestCase):
         env['CANBERRA_DRIVER'] = 'null'
 
         self.daemon = subprocess.Popen(
-            [os.path.join(builddir, 'gsd-power')],
+            [os.path.join(builddir, 'gsd-power'), '--verbose'],
             # comment out this line if you want to see the logs in real time
             stdout=self.plugin_log_write,
             stderr=subprocess.STDOUT,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]