[gnome-settings-daemon/benzea/tests-output-checker: 3/3] tests: Disable output buffering for test processes




commit 610d65c53e1a015ef3dc6e35b1939b56d229d936
Author: Benjamin Berg <bberg redhat com>
Date:   Mon Feb 15 16:47:28 2021 +0100

    tests: Disable output buffering for test processes
    
    Having the output of the main test process buffered can lead to rather
    unexpected situations.

 plugins/power/test.py     | 2 +-
 plugins/xsettings/test.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/power/test.py b/plugins/power/test.py
index a8ce32d2..bb5861a4 100755
--- a/plugins/power/test.py
+++ b/plugins/power/test.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/python3 -u
 '''GNOME settings daemon tests for power plugin.'''
 
 __author__ = 'Martin Pitt <martin pitt ubuntu com>'
diff --git a/plugins/xsettings/test.py b/plugins/xsettings/test.py
index 0b3a44d4..3e181ce1 100755
--- a/plugins/xsettings/test.py
+++ b/plugins/xsettings/test.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/python3 -u
 '''GNOME settings daemon tests for xsettings plugin.'''
 
 __author__ = 'Bastien Nocera <hadess hadess net>'


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