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

Unified Diff: test/subdirectory/gyptest-SYMROOT-all.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/subdirectory/gyptest-SYMROOT-all.py
diff --git a/test/subdirectory/gyptest-SYMROOT-all.py b/test/subdirectory/gyptest-SYMROOT-all.py
index b7509041aec9baafccbf1d3370438b5d404d4b0f..f0052a23fd1bc85915fd852ab7b72af3bb87e0f3 100755
--- a/test/subdirectory/gyptest-SYMROOT-all.py
+++ b/test/subdirectory/gyptest-SYMROOT-all.py
@@ -29,8 +29,12 @@ test.build('prog1.gyp', test.ALL, SYMROOT=None, chdir='relocate/src')
test.run_built_executable('prog1',
stdout="Hello from prog1.c\n",
chdir='relocate/src')
-test.run_built_executable('prog2',
- stdout="Hello from prog2.c\n",
- chdir='relocate/src')
+
+if test.format == 'android':
+ test.run_built_executable('prog2', stdout="Hello from prog2.c\n",
+ chdir='relocate/src', subdir='subdir')
+else:
+ test.run_built_executable('prog2', stdout="Hello from prog2.c\n",
+ chdir='relocate/src')
test.pass_test()

Powered by Google App Engine
This is Rietveld 408576698