Chromium Code Reviews| Index: test/actions-multiple/gyptest-all.py |
| =================================================================== |
| --- test/actions-multiple/gyptest-all.py (revision 1393) |
| +++ test/actions-multiple/gyptest-all.py (working copy) |
| @@ -16,6 +16,16 @@ |
| test.relocate('src', 'relocate/src') |
| +# Test that multiple actions in a 'none' target that |
| +# depend on another 'none' target cause depended on target to |
| +# run individually. |
| +# This is only relevant to the make generator. |
|
Nico
2012/05/28 16:43:53
Why can't you run this test for other generators?
bradn
2012/05/29 21:21:47
You can only do this with generators / build tools
|
| +if test.format == 'make': |
| + test.build('actions.gyp', chdir='relocate/src', target='multi2.txt') |
| + test.must_contain('relocate/src/multi2.txt', 'hello there') |
| + test.must_contain('relocate/src/multi_dep.txt', 'hello there') |
| + |
| + |
| # Test that two actions can be attached to the same inputs. |
| test.build('actions.gyp', test.ALL, chdir='relocate/src') |
| test.must_contain('relocate/src/output1.txt', 'hello there') |