[gnome-control-center/benzea/misc-sanitiser-issues: 2/2] tests: Show why tests are not split
- From: Benjamin Berg <bberg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/benzea/misc-sanitiser-issues: 2/2] tests: Show why tests are not split
- Date: Thu, 7 May 2020 17:19:44 +0000 (UTC)
commit 99935d0465dab81e1c5e024b698bba57da42edde
Author: Benjamin Berg <bberg redhat com>
Date: Thu May 7 18:44:53 2020 +0200
tests: Show why tests are not split
The GTest python class tries to split tests into separte runs. However,
that can fail, show why.
tests/shared/gtest.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tests/shared/gtest.py b/tests/shared/gtest.py
index a29eee553..b77202b26 100644
--- a/tests/shared/gtest.py
+++ b/tests/shared/gtest.py
@@ -61,7 +61,7 @@ class _GTestMeta(type):
def make_tests(exe, result):
env = os.environ.copy()
env['G_MESSAGES_DEBUG'] = ''
- test = subprocess.Popen([exe, '-l'], stdout=subprocess.PIPE, stderr=subprocess.DEVNULL, env=env)
+ test = subprocess.Popen([exe, '-l'], stdout=subprocess.PIPE, stderr=None, env=env)
stdout, stderr = test.communicate()
if test.returncode != 0:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]