Chromium Code Reviews| Index: test/actions-multiple/gyptest-all.py |
| =================================================================== |
| --- test/actions-multiple/gyptest-all.py (revision 0) |
| +++ test/actions-multiple/gyptest-all.py (revision 0) |
| @@ -0,0 +1,25 @@ |
| +#!/usr/bin/env python |
| + |
| +# Copyright (c) 2009 Google Inc. All rights reserved. |
|
jeanluc1
2011/02/01 02:00:08
2011
bradn
2011/02/01 03:02:51
Done.
|
| +# Use of this source code is governed by a BSD-style license that can be |
| +# found in the LICENSE file. |
| + |
| +""" |
| +Verifies two actions can be attached to the same input files. |
| +""" |
| + |
| +import TestGyp |
| + |
| +test = TestGyp.TestGyp() |
| + |
| +test.run_gyp('actions.gyp', chdir='src') |
| + |
| +test.relocate('src', 'relocate/src') |
| + |
| +# 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') |
| +test.must_contain('relocate/src/output2.txt', 'hello there') |
| +test.must_contain('relocate/src/output3.txt', 'hello there') |
| + |
| +test.pass_test() |
| Property changes on: test\actions-multiple\gyptest-all.py |
| ___________________________________________________________________ |
| Added: svn:eol-style |
| + LF |