Index: test/sibling/gyptest-all.py |
diff --git a/test/sibling/gyptest-all.py b/test/sibling/gyptest-all.py |
index 4fa8e97a725ff84ff54a96f4b154b42daba5aeb3..0b7e4a4358ab50343d208659c347ee1c051a7f2d 100755 |
--- a/test/sibling/gyptest-all.py |
+++ b/test/sibling/gyptest-all.py |
@@ -26,14 +26,22 @@ if test.format in ('make', 'ninja', 'cmake'): |
if test.format == 'xcode': |
chdir = 'src/prog1' |
-test.run_built_executable('program1', |
- chdir=chdir, |
- stdout="Hello from prog1.c\n") |
+ |
+if test.format == 'android': |
+ test.run_built_executable('program1', stdout="Hello from prog1.c\n", |
+ chdir=chdir, subdir='prog1') |
+else: |
+ test.run_built_executable('program1', stdout="Hello from prog1.c\n", |
+ chdir=chdir) |
if test.format == 'xcode': |
chdir = 'src/prog2' |
-test.run_built_executable('program2', |
- chdir=chdir, |
- stdout="Hello from prog2.c\n") |
+ |
+if test.format == 'android': |
+ test.run_built_executable('program2', stdout="Hello from prog2.c\n", |
+ chdir=chdir, subdir='prog2') |
+else: |
+ test.run_built_executable('program2', stdout="Hello from prog2.c\n", |
+ chdir=chdir) |
test.pass_test() |