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

Side by Side Diff: test/win/gyptest-cl_runtime_checks.py

Issue 9460049: Next level of changes to get more of Chrome building (Closed) Base URL: https://gyp.googlecode.com/svn/trunk
Patch Set: wip Created 8 years, 8 months 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 | « test/win/gyptest-cl_rtti.py ('k') | test/win/gyptest-cl_runtime_library.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/usr/bin/env python
2
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
5 # found in the LICENSE file.
6
7 """
8 Make sure RTC setting is extracted properly.
9 """
10
11 import TestGyp
12
13 import subprocess
14 import sys
15
16 if sys.platform == 'win32':
17 test = TestGyp.TestGyp(formats=['ninja'])
18
19 CHDIR = 'compiler_flags'
20 test.run_gyp('runtime-checks.gyp', chdir=CHDIR)
21
22 ninja_file = test.built_file_path('obj/test_brc_none.ninja', chdir=CHDIR)
23 test.must_not_contain(ninja_file, '/RTC')
24
25 ninja_file = test.built_file_path('obj/test_brc_s.ninja', chdir=CHDIR)
26 test.must_contain(ninja_file, '/RTCs')
27
28 ninja_file = test.built_file_path('obj/test_brc_u.ninja', chdir=CHDIR)
29 test.must_contain(ninja_file, '/RTCu')
30
31 ninja_file = test.built_file_path('obj/test_brc_1.ninja', chdir=CHDIR)
32 test.must_contain(ninja_file, '/RTC1')
33
34 test.pass_test()
OLDNEW
« no previous file with comments | « test/win/gyptest-cl_rtti.py ('k') | test/win/gyptest-cl_runtime_library.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698