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

Side by Side Diff: trunk/test/builddir/gyptest-default.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 the settings that cause a set of programs to be created in 8 Verify the settings that cause a set of programs to be created in
5 a specific build directory, and that no intermediate built files 9 a specific build directory, and that no intermediate built files
6 get created outside of that build directory hierarchy even when 10 get created outside of that build directory hierarchy even when
7 referred to with deeply-nested ../../.. paths. 11 referred to with deeply-nested ../../.. paths.
8 """ 12 """
9 13
10 import TestGyp 14 import TestGyp
11 15
12 # TODO(mmoss): Make only supports (theoretically) a single, global build 16 # TODO(mmoss): Make only supports (theoretically) a single, global build
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 dir = 'relocate/builddir/Default/' 68 dir = 'relocate/builddir/Default/'
65 test.run(program=test.workpath(dir + prog), stdout=expect) 69 test.run(program=test.workpath(dir + prog), stdout=expect)
66 70
67 run_builddir('prog1', expect1) 71 run_builddir('prog1', expect1)
68 run_builddir('prog2', expect2) 72 run_builddir('prog2', expect2)
69 run_builddir('prog3', expect3) 73 run_builddir('prog3', expect3)
70 run_builddir('prog4', expect4) 74 run_builddir('prog4', expect4)
71 run_builddir('prog5', expect5) 75 run_builddir('prog5', expect5)
72 76
73 test.pass_test() 77 test.pass_test()
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698