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

Unified Diff: test/subdirectory/gyptest-top-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-top-all.py
diff --git a/test/subdirectory/gyptest-top-all.py b/test/subdirectory/gyptest-top-all.py
index b3c25b1f8d764b8ccd601d46190cbfd7ca38de68..ac55ebc982f7d7f2618568518e9d75cde73db54e 100755
--- a/test/subdirectory/gyptest-top-all.py
+++ b/test/subdirectory/gyptest-top-all.py
@@ -36,8 +36,11 @@ if test.format == 'xcode':
chdir = 'relocate/src/subdir'
else:
chdir = 'relocate/src'
-test.run_built_executable('prog2',
- chdir=chdir,
- stdout="Hello from prog2.c\n")
+
+if test.format == 'android':
+ test.run_built_executable('prog2', chdir=chdir, stdout="Hello from prog2.c\n",
+ subdir='subdir')
+else:
+ test.run_built_executable('prog2', chdir=chdir, stdout="Hello from prog2.c\n")
test.pass_test()

Powered by Google App Engine
This is Rietveld 408576698