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

Unified Diff: test/subdirectory/gyptest-SYMROOT-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/subdirectory/gyptest-SYMROOT-default.py
diff --git a/test/subdirectory/gyptest-SYMROOT-default.py b/test/subdirectory/gyptest-SYMROOT-default.py
index c64ae7da39c73dbebead21163f874c0e0094d68a..2a9d77f72ddf1fc4d6eda6840ef02e52152f982a 100755
--- a/test/subdirectory/gyptest-SYMROOT-default.py
+++ b/test/subdirectory/gyptest-SYMROOT-default.py
@@ -30,8 +30,11 @@ 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