Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(201)

Side by Side Diff: trunk/test/generator-output/gyptest-actions.py

Issue 306051: Add AUTHORS and LICENSE files, and copyright headers to relevant source files... (Closed) Base URL: http://gyp.googlecode.com/svn/
Patch Set: '' Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 2
3 # Copyright (c) 2009 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
3 """ 7 """
4 Verifies --generator-output= behavior when using actions. 8 Verifies --generator-output= behavior when using actions.
5 """ 9 """
6 10
7 import TestGyp 11 import TestGyp
8 12
9 test = TestGyp.TestGyp() 13 test = TestGyp.TestGyp()
10 14
11 # All the generated files should go under 'gypfiles'. The source directory 15 # All the generated files should go under 'gypfiles'. The source directory
12 # ('actions') should be untouched. 16 # ('actions') should be untouched.
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 if test.format == 'xcode': 48 if test.format == 'xcode':
45 chdir = 'relocate/actions/subdir1' 49 chdir = 'relocate/actions/subdir1'
46 else: 50 else:
47 chdir = 'relocate/gypfiles' 51 chdir = 'relocate/gypfiles'
48 test.run_built_executable('program', chdir=chdir, stdout=expect) 52 test.run_built_executable('program', chdir=chdir, stdout=expect)
49 53
50 test.must_match('relocate/actions/subdir2/actions-out/file.out', 54 test.must_match('relocate/actions/subdir2/actions-out/file.out',
51 "Hello from make-file.py\n") 55 "Hello from make-file.py\n")
52 56
53 test.pass_test() 57 test.pass_test()
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698