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

Side by Side Diff: test/msvs/prebuild/gyptest-prebuild.py

Issue 2866042: Effectively duplicates targets that contain rules/actions, therefore enabling... (Closed) Base URL: http://gyp.googlecode.com/svn/trunk/
Patch Set: '' Created 10 years, 5 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
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 #!/usr/bin/env python
2
3 # Copyright (c) 2010 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 Verifies that prebuild targets are generated for targets with rules or actions.
9 """
10
11 import TestGyp
12
13 test = TestGyp.TestGyp(formats=['msvs'])
14
15 test.run_gyp('prebuild.gyp', '-G', 'msvs_version=2005')
16 test.must_contain('prebuild.sln', '(base)')
17 test.must_contain('prebuild.sln', '"a"')
18 test.must_contain('prebuild.sln', '"a_prebuild"')
19 test.must_contain('prebuild.sln', '"b"')
20 test.must_not_contain('prebuild.sln', '"b_prebuild"')
21 test.must_contain('prebuild.sln', '"c"')
22 test.must_not_contain('prebuild.sln', '"c_prebuild"')
23 test.must_contain('prebuild.sln', '"prebuild"')
24 test.must_not_contain('prebuild.sln', '"prebuild_prebuild"')
25
26 test.pass_test()
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698