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

Unified Diff: test/same-gyp-name/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/same-gyp-name/gyptest-default.py
diff --git a/test/same-gyp-name/gyptest-default.py b/test/same-gyp-name/gyptest-default.py
index 5e4bba0012e5bb639ef94fc1e1571af680f3b1e6..508d8519c9b3e5e3b20b3ade8b0a75ca778f8c9c 100755
--- a/test/same-gyp-name/gyptest-default.py
+++ b/test/same-gyp-name/gyptest-default.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