Package: gnome-control-center / 1:48.3-3

debian/Ignore-result-of-test-network-panel.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From: Simon McVittie <smcv@debian.org>
Date: Fri, 15 Apr 2022 11:38:23 +0100
Subject: Ignore result of test-network-panel

This is a workaround for the test intermittently failing, especially
on slower architectures. Continue to run it with the result ignored,
so that we can see how often it fails in practice.

Bug: https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1768
Forwarded: not-needed, Debian-specific workaround
---
 tests/network/test-network-panel.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/network/test-network-panel.py b/tests/network/test-network-panel.py
index 1098bab..dac0894 100644
--- a/tests/network/test-network-panel.py
+++ b/tests/network/test-network-panel.py
@@ -41,4 +41,5 @@ class PanelTestCase(X11SessionTestCase, GTest):
 
 if __name__ == '__main__':
     # avoid writing to stderr
-    unittest.main(testRunner=unittest.TextTestRunner(stream=sys.stdout, verbosity=2))
+    # TODO: result is ignored: https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1768
+    unittest.main(testRunner=unittest.TextTestRunner(stream=sys.stdout, verbosity=2), exit=False)