OLD | NEW |
(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 Verifies that rules operating on the output of other rules are processed. |
| 9 """ |
| 10 |
| 11 import os |
| 12 import sys |
| 13 import TestGyp |
| 14 |
| 15 # TODO(scottmg): make generator doesn't support rules that process the output |
| 16 # of other rules. |
| 17 test = TestGyp.TestGyp(formats=['!make']) |
| 18 test.run_gyp('chained-rules.gyp') |
| 19 test.build('chained-rules.gyp', test.ALL) |
| 20 test.built_file_must_exist('input.msi') # rule->rule |
| 21 test.built_file_must_exist('out.final') # action->rule |
| 22 test.built_file_must_exist('bar.msi') # rule 3x, with duplicated extensions. |
| 23 test.pass_test() |
OLD | NEW |