Skip to content

Commit c48d0fd

Browse files
committed
chore: Update test runner script to explicitly set output of run()
Suggested-by: firewave <firewave@users.noreply.github.com>
1 parent 91466cd commit c48d0fd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

run-tests.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,9 @@ def run(compiler_executable, compiler_args):
116116
numberOfSkipped = numberOfSkipped + 1
117117
continue
118118

119-
clang_output = run(CLANG_EXE, cmd.split(' '))[1]
119+
_, clang_output, _ = run(CLANG_EXE, cmd.split(' '))
120120

121-
gcc_output = run(GCC_EXE, cmd.split(' '))[1]
121+
_, gcc_output, _ = run(GCC_EXE, cmd.split(' '))
122122

123123
# -E is not supported and we bail out on unknown options
124124
simplecpp_ec, simplecpp_output, simplecpp_err = run(SIMPLECPP_EXE, cmd.replace('-E ', '', 1).split(' '))

0 commit comments

Comments
 (0)