From 2803116f9a7645871aa8892ec4f5190b26498d29 Mon Sep 17 00:00:00 2001 From: Marco Poletti Date: Mon, 23 Dec 2019 11:06:25 -0800 Subject: Fix some testing code that handles compilation failures when using MSVC. --- tests/fruit_test_common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/fruit_test_common.py b/tests/fruit_test_common.py index 0c4018b..d4a1308 100644 --- a/tests/fruit_test_common.py +++ b/tests/fruit_test_common.py @@ -166,7 +166,7 @@ class MsvcCompiler: self._compile(include_dirs, args = args) except CommandFailedException as e: # Note that we use stdout here, unlike above. MSVC reports compilation warnings and errors on stdout. - raise CompilationFailedException(e.command, e.stdout) + raise CompilationFailedException(e.command, e.stdout, e.stderr) def compile_and_link(self, source, include_dirs, output_file_name, args=[]): self._compile( -- cgit v1.2.3