| OLD | NEW |
| (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() |
| OLD | NEW |