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

Side by Side Diff: trunk/test/generator-output/gyptest-relocate.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 that a project hierarchy created with the --generator-output= 8 Verifies that a project hierarchy created with the --generator-output=
5 option can be built even when it's relocated to a different path. 9 option can be built even when it's relocated to a different path.
6 """ 10 """
7 11
8 import TestGyp 12 import TestGyp
9 13
10 test = TestGyp.TestGyp() 14 test = TestGyp.TestGyp()
11 15
12 test.writable(test.workpath('src'), False) 16 test.writable(test.workpath('src'), False)
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 50
47 if test.format == 'xcode': 51 if test.format == 'xcode':
48 chdir = 'relocate/src/subdir2' 52 chdir = 'relocate/src/subdir2'
49 test.run_built_executable('prog2', chdir=chdir, stdout=expect % 'prog2.c') 53 test.run_built_executable('prog2', chdir=chdir, stdout=expect % 'prog2.c')
50 54
51 if test.format == 'xcode': 55 if test.format == 'xcode':
52 chdir = 'relocate/src/subdir3' 56 chdir = 'relocate/src/subdir3'
53 test.run_built_executable('prog3', chdir=chdir, stdout=expect % 'prog3.c') 57 test.run_built_executable('prog3', chdir=chdir, stdout=expect % 'prog3.c')
54 58
55 test.pass_test() 59 test.pass_test()
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698