Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(117)

Side by Side Diff: pylib/gyp/MSVSSettings_test.py

Issue 645223002: Add back support for /Gv now that gyp-win64 has VS2013 (Closed) Base URL: http://gyp.googlecode.com/svn/trunk
Patch Set: Rebase Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « pylib/gyp/MSVSSettings.py ('k') | pylib/gyp/msvs_emulation.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 2
3 # Copyright (c) 2012 Google Inc. All rights reserved. 3 # Copyright (c) 2012 Google Inc. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 """Unit tests for the MSVSSettings.py file.""" 7 """Unit tests for the MSVSSettings.py file."""
8 8
9 import StringIO 9 import StringIO
10 import unittest 10 import unittest
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 'UseFAT32Workaround': 'true', 260 'UseFAT32Workaround': 'true',
261 'UseUnicodeResponseFiles': 'true', 261 'UseUnicodeResponseFiles': 'true',
262 'VerboseOutput': 'true'}}, 262 'VerboseOutput': 'true'}},
263 self.stderr) 263 self.stderr)
264 self._ExpectedWarnings([ 264 self._ExpectedWarnings([
265 'Warning: for VCCLCompilerTool/BasicRuntimeChecks, ' 265 'Warning: for VCCLCompilerTool/BasicRuntimeChecks, '
266 'index value (5) not in expected range [0, 4)', 266 'index value (5) not in expected range [0, 4)',
267 'Warning: for VCCLCompilerTool/BrowseInformation, ' 267 'Warning: for VCCLCompilerTool/BrowseInformation, '
268 "invalid literal for int() with base 10: 'fdkslj'", 268 "invalid literal for int() with base 10: 'fdkslj'",
269 'Warning: for VCCLCompilerTool/CallingConvention, ' 269 'Warning: for VCCLCompilerTool/CallingConvention, '
270 'index value (-1) not in expected range [0, 3)', 270 'index value (-1) not in expected range [0, 4)',
271 'Warning: for VCCLCompilerTool/DebugInformationFormat, ' 271 'Warning: for VCCLCompilerTool/DebugInformationFormat, '
272 'converted value for 2 not specified.', 272 'converted value for 2 not specified.',
273 'Warning: unrecognized setting VCCLCompilerTool/Enableprefast', 273 'Warning: unrecognized setting VCCLCompilerTool/Enableprefast',
274 'Warning: unrecognized setting VCCLCompilerTool/ZZXYZ', 274 'Warning: unrecognized setting VCCLCompilerTool/ZZXYZ',
275 'Warning: for VCLinkerTool/TargetMachine, ' 275 'Warning: for VCLinkerTool/TargetMachine, '
276 'converted value for 2 not specified.', 276 'converted value for 2 not specified.',
277 'Warning: unrecognized setting VCMIDLTool/notgood', 277 'Warning: unrecognized setting VCMIDLTool/notgood',
278 'Warning: unrecognized setting VCResourceCompilerTool/notgood2', 278 'Warning: unrecognized setting VCResourceCompilerTool/notgood2',
279 'Warning: for VCManifestTool/UpdateFileHashes, ' 279 'Warning: for VCManifestTool/UpdateFileHashes, '
280 "expected bool; got 'truel'" 280 "expected bool; got 'truel'"
(...skipping 1193 matching lines...) Expand 10 before | Expand all | Expand 10 after
1474 } 1474 }
1475 actual_msbuild_settings = MSVSSettings.ConvertToMSBuildSettings( 1475 actual_msbuild_settings = MSVSSettings.ConvertToMSBuildSettings(
1476 msvs_settings, 1476 msvs_settings,
1477 self.stderr) 1477 self.stderr)
1478 self.assertEqual(expected_msbuild_settings, actual_msbuild_settings) 1478 self.assertEqual(expected_msbuild_settings, actual_msbuild_settings)
1479 self._ExpectedWarnings([]) 1479 self._ExpectedWarnings([])
1480 1480
1481 1481
1482 if __name__ == '__main__': 1482 if __name__ == '__main__':
1483 unittest.main() 1483 unittest.main()
OLDNEW
« no previous file with comments | « pylib/gyp/MSVSSettings.py ('k') | pylib/gyp/msvs_emulation.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698