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

Unified Diff: test/subdirectory/gyptest-top-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
« test/lib/TestGyp.py ('K') | « test/subdirectory/gyptest-top-all.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/subdirectory/gyptest-top-default.py
diff --git a/test/subdirectory/gyptest-top-default.py b/test/subdirectory/gyptest-top-default.py
index 2448dd98ea50dc51c2af8a9822a4352aeff174b5..2e94573a039f45f0dc569c39db96c509848f23dc 100755
--- a/test/subdirectory/gyptest-top-default.py
+++ b/test/subdirectory/gyptest-top-default.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()
« test/lib/TestGyp.py ('K') | « test/subdirectory/gyptest-top-all.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698