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

Side by Side Diff: trunk/test/variants/gyptest-variants.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 Verify handling of build variants. 8 Verify handling of build variants.
5 9
6 TODO: Right now, only the SCons generator supports this, so the 10 TODO: Right now, only the SCons generator supports this, so the
7 test case is SCons-specific. In particular, it relise on SCons' 11 test case is SCons-specific. In particular, it relise on SCons'
8 ability to rebuild in response to changes on the command line. It 12 ability to rebuild in response to changes on the command line. It
9 may be simpler to just drop this feature if the other generators 13 may be simpler to just drop this feature if the other generators
10 can't be made to behave the same way. 14 can't be made to behave the same way.
11 """ 15 """
12 16
(...skipping 19 matching lines...) Expand all
32 stdout="Hello from VARIANT1\n") 36 stdout="Hello from VARIANT1\n")
33 37
34 test.sleep() 38 test.sleep()
35 test.build('variants.gyp', 'VARIANT2=1', chdir='relocate/src') 39 test.build('variants.gyp', 'VARIANT2=1', chdir='relocate/src')
36 40
37 test.run_built_executable('variants', 41 test.run_built_executable('variants',
38 chdir='relocate/src', 42 chdir='relocate/src',
39 stdout="Hello from VARIANT2\n") 43 stdout="Hello from VARIANT2\n")
40 44
41 test.pass_test() 45 test.pass_test()
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698