Author: labath
Date: Mon Nov 27 05:47:14 2017
New Revision: 319028

URL: http://llvm.org/viewvc/llvm-project?rev=319028&view=rev
Log:
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.

Modified:
    lldb/trunk/packages/Python/lldbsuite/test/lldbplatformutil.py

Modified: lldb/trunk/packages/Python/lldbsuite/test/lldbplatformutil.py
URL: 
http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lldbplatformutil.py?rev=319028&r1=319027&r2=319028&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/lldbplatformutil.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/lldbplatformutil.py Mon Nov 27 
05:47:14 2017
@@ -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


_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to