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

Unified Diff: test/same-gyp-name/gyptest-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/same-gyp-name/gyptest-all.py
diff --git a/test/same-gyp-name/gyptest-all.py b/test/same-gyp-name/gyptest-all.py
index cda1a72d4d1e400444b794e9a8163e33478453e1..342e25e1220b1484d067b1ca806ef6692c1d7a56 100755
--- a/test/same-gyp-name/gyptest-all.py
+++ b/test/same-gyp-name/gyptest-all.py
@@ -32,7 +32,13 @@ if test.format == 'xcode':
else:
chdir1 = chdir2 = 'relocate/src'
-test.run_built_executable('program1', chdir=chdir1, stdout=expect1)
-test.run_built_executable('program2', chdir=chdir2, stdout=expect2)
+if test.format == 'android':
+ test.run_built_executable('program1', chdir=chdir1, stdout=expect1,
+ subdir='subdir1')
+ test.run_built_executable('program2', chdir=chdir2, stdout=expect2,
+ subdir='subdir2')
+else:
+ test.run_built_executable('program1', chdir=chdir1, stdout=expect1)
+ test.run_built_executable('program2', chdir=chdir2, stdout=expect2)
test.pass_test()

Powered by Google App Engine
This is Rietveld 408576698