diff options
author | Marco Poletti <poletti.marco@gmail.com> | 2020-03-09 01:17:22 -0700 |
---|---|---|
committer | Marco Poletti <poletti.marco@gmail.com> | 2020-03-09 01:17:22 -0700 |
commit | a82ef89c2fa6f50af62a76bf7152a8fbb9cea802 (patch) | |
tree | 9e49f874e2cfe719fb39efa26bc3b11888426250 /tests/fruit_test_common.py | |
parent | d2a8b44a8ddbed59f03ca08da63504c0204a4b4e (diff) | |
download | google-fruit-a82ef89c2fa6f50af62a76bf7152a8fbb9cea802.tar.gz |
Fix test helpers for MSVC, there was a bug that caused most tests to fail.
Diffstat (limited to 'tests/fruit_test_common.py')
-rw-r--r-- | tests/fruit_test_common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fruit_test_common.py b/tests/fruit_test_common.py index d4a1308..faae820 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, e.stderr) + raise CompilationFailedException(e.command, e.env, e.stdout) def compile_and_link(self, source, include_dirs, output_file_name, args=[]): self._compile( |