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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: test/include_dirs/gyptest-default.py
diff --git a/test/include_dirs/gyptest-default.py b/test/include_dirs/gyptest-default.py
index fc6141587e10be1573c886d8561470ecf46a45a0..63688b479f4f038ad526b4b64c8408b0b3aefbd1 100755
--- a/test/include_dirs/gyptest-default.py
+++ b/test/include_dirs/gyptest-default.py
@@ -38,6 +38,10 @@ Hello from subdir/inc.h
Hello from include1.h
Hello from subdir/inc2/include2.h
"""
-test.run_built_executable('subdir_includes', stdout=expect, chdir=chdir)
+if test.format == 'android':
+ test.run_built_executable('subdir_includes', stdout=expect, chdir=chdir,
+ subdir='subdir')
+else:
+ test.run_built_executable('subdir_includes', stdout=expect, chdir=chdir)
test.pass_test()

Powered by Google App Engine
This is Rietveld 408576698