check_test_cases.py: do not redirect stderr to stdout
Signed-off-by: Yanray Wang <yanray.wang@arm.com>
This commit is contained in:
parent
cdc0708334
commit
2b50c651da
1 changed files with 1 additions and 2 deletions
|
@ -116,8 +116,7 @@ state may override this method.
|
||||||
"""Iterate over the test cases compat.sh with a similar format."""
|
"""Iterate over the test cases compat.sh with a similar format."""
|
||||||
descriptions = self.new_per_file_state() # pylint: disable=assignment-from-none
|
descriptions = self.new_per_file_state() # pylint: disable=assignment-from-none
|
||||||
compat_cmd = ['sh', file_name, '--list-test-case']
|
compat_cmd = ['sh', file_name, '--list-test-case']
|
||||||
compat_output = subprocess.check_output(compat_cmd,
|
compat_output = subprocess.check_output(compat_cmd)
|
||||||
stderr=subprocess.STDOUT)
|
|
||||||
# Assume compat.sh is responsible for printing identical format of
|
# Assume compat.sh is responsible for printing identical format of
|
||||||
# test case description between --list-test-case and its OUTCOME.CSV
|
# test case description between --list-test-case and its OUTCOME.CSV
|
||||||
description = compat_output.strip().split(b'\n')
|
description = compat_output.strip().split(b'\n')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue