| Index: test/msvs/prebuild/gyptest-prebuild.py
|
| ===================================================================
|
| --- test/msvs/prebuild/gyptest-prebuild.py (revision 0)
|
| +++ test/msvs/prebuild/gyptest-prebuild.py (revision 0)
|
| @@ -0,0 +1,26 @@
|
| +#!/usr/bin/env python
|
| +
|
| +# Copyright (c) 2010 Google Inc. All rights reserved.
|
| +# Use of this source code is governed by a BSD-style license that can be
|
| +# found in the LICENSE file.
|
| +
|
| +"""
|
| +Verifies that prebuild targets are generated for targets with rules or actions.
|
| +"""
|
| +
|
| +import TestGyp
|
| +
|
| +test = TestGyp.TestGyp(formats=['msvs'])
|
| +
|
| +test.run_gyp('prebuild.gyp', '-G', 'msvs_version=2005')
|
| +test.must_contain('prebuild.sln', '(base)')
|
| +test.must_contain('prebuild.sln', '"a"')
|
| +test.must_contain('prebuild.sln', '"a_prebuild"')
|
| +test.must_contain('prebuild.sln', '"b"')
|
| +test.must_not_contain('prebuild.sln', '"b_prebuild"')
|
| +test.must_contain('prebuild.sln', '"c"')
|
| +test.must_not_contain('prebuild.sln', '"c_prebuild"')
|
| +test.must_contain('prebuild.sln', '"prebuild"')
|
| +test.must_not_contain('prebuild.sln', '"prebuild_prebuild"')
|
| +
|
| +test.pass_test()
|
|
|
| Property changes on: test/msvs/prebuild/gyptest-prebuild.py
|
| ___________________________________________________________________
|
| Added: svn:eol-style
|
| + LF
|
|
|
|
|