[gnome-settings-daemon/benzea/tests-output-checker: 5/5] tests: Disable output buffering for test processes
- From: Benjamin Berg <bberg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon/benzea/tests-output-checker: 5/5] tests: Disable output buffering for test processes
- Date: Mon, 15 Feb 2021 16:29:32 +0000 (UTC)
commit 3b4face93d77ac9d85a6f05f1bfa6aed43fcf34c
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]