summaryrefslogtreecommitdiff
path: root/test/copies/gyptest-updir.py
diff options
context:
space:
mode:
authortorne@chromium.org <torne@chromium.org@78cadc50-ecff-11dd-a971-7dbc132099af>2012-12-12 16:24:59 +0000
committertorne@chromium.org <torne@chromium.org@78cadc50-ecff-11dd-a971-7dbc132099af>2012-12-12 16:24:59 +0000
commit49f5a9877ff88aa5e04b305674a0b56eb378f1d6 (patch)
tree3b3a8df5a01bef8b04032a7e946f6c47ae72e99f /test/copies/gyptest-updir.py
parent54aee1941b7d83836bef1d9553e1961e6aad1b71 (diff)
downloadgyp-49f5a9877ff88aa5e04b305674a0b56eb378f1d6.tar.gz
Fix/disable various tests for the Android backend.
The Android backend doesn't support some of the features being tested; disalbe the tests to fix things. Also, the Android build system has -Werror always enabled and lots of warnings enabled by default, so fix warnings in trivial C programs used in tests. BUG=gyp:275 Review URL: https://codereview.chromium.org/11498009 git-svn-id: http://gyp.googlecode.com/svn/trunk@1548 78cadc50-ecff-11dd-a971-7dbc132099af
Diffstat (limited to 'test/copies/gyptest-updir.py')
-rwxr-xr-xtest/copies/gyptest-updir.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/copies/gyptest-updir.py b/test/copies/gyptest-updir.py
index 1bb9b1d1..00b01c72 100755
--- a/test/copies/gyptest-updir.py
+++ b/test/copies/gyptest-updir.py
@@ -11,7 +11,8 @@ yields a make variable.
import TestGyp
-test = TestGyp.TestGyp()
+# The Android build system doesn't allow output to go to arbitrary places.
+test = TestGyp.TestGyp(formats=['!android'])
test.run_gyp('copies-updir.gyp', chdir='src')
test.relocate('src', 'relocate/src')
test.build('copies-updir.gyp', 'copies_up', chdir='relocate/src')