summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/lldbplatformutil.py
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2017-11-27 13:47:14 +0000
committerPavel Labath <labath@google.com>2017-11-27 13:47:14 +0000
commitdaa3c97e5add9b90d34620fdc3cdb9819646e4c6 (patch)
tree368e92033d8b0a93123ec740bde6d7cea6f99807 /lldb/packages/Python/lldbsuite/test/lldbplatformutil.py
parentc723f657094bedc5975ca298356ad280e161c491 (diff)
downloadbcm5719-llvm-daa3c97e5add9b90d34620fdc3cdb9819646e4c6.tar.gz
bcm5719-llvm-daa3c97e5add9b90d34620fdc3cdb9819646e4c6.zip
dotest: Mark more android targets as chatty
New android ndk linker started adding more flags to the produced binaries, which causes older dynamic linkers display warnings to stderr about unsupported flags. This interferes with our stderr tests. Extend the hasChattyStderr function to catch these targets as well. llvm-svn: 319028
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbplatformutil.py')
-rw-r--r--lldb/packages/Python/lldbsuite/test/lldbplatformutil.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/lldbplatformutil.py b/lldb/packages/Python/lldbsuite/test/lldbplatformutil.py
index 188f9e51d9f..f7da58bd525 100644
--- a/lldb/packages/Python/lldbsuite/test/lldbplatformutil.py
+++ b/lldb/packages/Python/lldbsuite/test/lldbplatformutil.py
@@ -174,6 +174,6 @@ def createPlatformContext():
def hasChattyStderr(test_case):
"""Some targets produce garbage on the standard error output. This utility function
determines whether the tests can be strict about the expected stderr contents."""
- if match_android_device(test_case.getArchitecture(), ['aarch64'], [22]):
+ if match_android_device(test_case.getArchitecture(), ['aarch64'], range(22, 25+1)):
return True # The dynamic linker on the device will complain about unknown DT entries
return False
OpenPOWER on IntegriCloud