Skip to content

Commit a7841d8

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

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
@@ -119,9 +119,9 @@ def run(compiler_executable, compiler_args):
119119
numberOfSkipped = numberOfSkipped + 1
120120
continue
121121

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

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

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

0 commit comments

Comments
 (0)