tests: Show why tests are not split

The GTest python class tries to split tests into separte runs. However,
that can fail, show why.
This commit is contained in:
Benjamin Berg 2020-05-07 18:44:53 +02:00 committed by Georges Basile Stavracas Neto
parent 8658123f8b
commit 57685f0343

View file

@ -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: