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

Side by Side Diff: test/include_dirs/gyptest-default.py

Issue 321953005: [gyp][Android] Implement TestGypAndroid.run_built_executable. (Closed) Base URL: http://gyp.googlecode.com/svn/trunk
Patch Set: Created 6 years, 6 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. 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 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 """ 7 """
8 Verifies use of include_dirs when using the default build target. 8 Verifies use of include_dirs when using the default build target.
9 """ 9 """
10 10
(...skipping 20 matching lines...) Expand all
31 chdir='relocate/src/subdir' 31 chdir='relocate/src/subdir'
32 else: 32 else:
33 chdir='relocate/src' 33 chdir='relocate/src'
34 34
35 expect = """\ 35 expect = """\
36 Hello from subdir/subdir_includes.c 36 Hello from subdir/subdir_includes.c
37 Hello from subdir/inc.h 37 Hello from subdir/inc.h
38 Hello from include1.h 38 Hello from include1.h
39 Hello from subdir/inc2/include2.h 39 Hello from subdir/inc2/include2.h
40 """ 40 """
41 test.run_built_executable('subdir_includes', stdout=expect, chdir=chdir) 41 if test.format == 'android':
42 test.run_built_executable('subdir_includes', stdout=expect, chdir=chdir,
43 subdir='subdir')
44 else:
45 test.run_built_executable('subdir_includes', stdout=expect, chdir=chdir)
42 46
43 test.pass_test() 47 test.pass_test()
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698