[gnome-control-center/benzea/misc-sanitiser-issues: 4/4] tests: Show why tests are not split



commit 57685f03439b19679c3eb3cc9feab61919319362
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]