| Index: test/rules/gyptest-default.py
|
| diff --git a/test/rules/gyptest-default.py b/test/rules/gyptest-default.py
|
| index 048c93caf729cbc0d9e2d4508d763a0323636d84..65d673fce754a33feb724a2be3142f21ef3a4686 100755
|
| --- a/test/rules/gyptest-default.py
|
| +++ b/test/rules/gyptest-default.py
|
| @@ -28,7 +28,12 @@ if test.format == 'xcode':
|
| chdir = 'relocate/src/subdir1'
|
| else:
|
| chdir = 'relocate/src'
|
| -test.run_built_executable('program', chdir=chdir, stdout=expect)
|
| +
|
| +if test.format == 'android':
|
| + test.run_built_executable('program', chdir=chdir, stdout=expect,
|
| + subdir='subdir1')
|
| +else:
|
| + test.run_built_executable('program', chdir=chdir, stdout=expect)
|
|
|
| expect = """\
|
| Hello from program.c
|
| @@ -39,7 +44,12 @@ if test.format == 'xcode':
|
| chdir = 'relocate/src/subdir3'
|
| else:
|
| chdir = 'relocate/src'
|
| -test.run_built_executable('program2', chdir=chdir, stdout=expect)
|
| +
|
| +if test.format == 'android':
|
| + test.run_built_executable('program2', chdir=chdir, stdout=expect,
|
| + subdir='subdir3')
|
| +else:
|
| + test.run_built_executable('program2', chdir=chdir, stdout=expect)
|
|
|
| test.must_match('relocate/src/subdir2/file1.out', 'Hello from file1.in\n')
|
| test.must_match('relocate/src/subdir2/file2.out', 'Hello from file2.in\n')
|
|
|