aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMarco Poletti <poletti.marco@gmail.com>2019-12-23 11:06:25 -0800
committerMarco Poletti <poletti.marco@gmail.com>2019-12-23 11:06:25 -0800
commit2803116f9a7645871aa8892ec4f5190b26498d29 (patch)
tree267124ee7bd7d5f6dc4d1633f0107eeb36666777 /tests
parent553d9ff17ecef1d29d4c2afba2c75a9d59e3bfb0 (diff)
downloadgoogle-fruit-2803116f9a7645871aa8892ec4f5190b26498d29.tar.gz
Fix some testing code that handles compilation failures when using MSVC.
Diffstat (limited to 'tests')
-rw-r--r--tests/fruit_test_common.py2
1 files changed, 1 insertions, 1 deletions
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(