summaryrefslogtreecommitdiff
path: root/test/standalone-static-library/gyptest-standalone-static-library.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/standalone-static-library/gyptest-standalone-static-library.py')
-rw-r--r--test/standalone-static-library/gyptest-standalone-static-library.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/standalone-static-library/gyptest-standalone-static-library.py b/test/standalone-static-library/gyptest-standalone-static-library.py
index 89f5cbea..91198b45 100644
--- a/test/standalone-static-library/gyptest-standalone-static-library.py
+++ b/test/standalone-static-library/gyptest-standalone-static-library.py
@@ -13,7 +13,11 @@ import subprocess
import sys
import TestGyp
-test = TestGyp.TestGyp()
+# standalone_static_library currently means two things: a specific output
+# location for the built target and non-thin archive files. The Android gyp
+# generator leaves both decisions to the Android build system, so this test
+# doesn't work for that format.
+test = TestGyp.TestGyp(formats=['!android'])
# Verify that types other than static_library cause a failure.
test.run_gyp('invalid.gyp', status=1, stderr=None)
@@ -50,4 +54,4 @@ if test.format in ('make', 'ninja') and sys.platform.startswith('linux'):
retcode = subprocess.call(['ar', '-x', path])
assert retcode == 0
-test.pass_test() \ No newline at end of file
+test.pass_test()