[compiler-rt] 53aff8d - [Darwin][iOS] Enable test on non-macOS platforms

Julian Lettner via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 20 16:40:43 PDT 2020


Author: Julian Lettner
Date: 2020-08-20T16:40:32-07:00
New Revision: 53aff8d864ad48d00d2dc5e49ad07034e8dcb82f

URL: https://github.com/llvm/llvm-project/commit/53aff8d864ad48d00d2dc5e49ad07034e8dcb82f
DIFF: https://github.com/llvm/llvm-project/commit/53aff8d864ad48d00d2dc5e49ad07034e8dcb82f.diff

LOG: [Darwin][iOS] Enable test on non-macOS platforms

We are now using a properly-substituted minimal deployment target
compiler flag (`%min_macos_deployment_target=10.11`).  Enable test on
iOS and watchOS plus simulators.  We are also not testing on very old
platforms anymore, so we can remove some obsolete lit infrastructure.

Added: 
    

Modified: 
    compiler-rt/test/asan/TestCases/initialization-bug.cpp
    compiler-rt/test/lit.common.cfg.py

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/asan/TestCases/initialization-bug.cpp b/compiler-rt/test/asan/TestCases/initialization-bug.cpp
index 54adb3450eb9..fcf9558af8e6 100644
--- a/compiler-rt/test/asan/TestCases/initialization-bug.cpp
+++ b/compiler-rt/test/asan/TestCases/initialization-bug.cpp
@@ -8,10 +8,6 @@
 // FIXME: https://code.google.com/p/address-sanitizer/issues/detail?id=186
 // XFAIL: windows-msvc
 
-// The test is expected to fail on OS X Yosemite and older
-// UNSUPPORTED: osx-no-ld64-live_support
-// UNSUPPORTED: ios
-
 #include <cstdio>
 
 // The structure of the test is:

diff  --git a/compiler-rt/test/lit.common.cfg.py b/compiler-rt/test/lit.common.cfg.py
index e72794d4534f..be1534d554ea 100644
--- a/compiler-rt/test/lit.common.cfg.py
+++ b/compiler-rt/test/lit.common.cfg.py
@@ -281,12 +281,6 @@
     if osx_version >= (10, 11):
       config.available_features.add('osx-autointerception')
       config.available_features.add('osx-ld64-live_support')
-    else:
-      # The ASAN initialization-bug.cpp test should XFAIL on OS X systems
-      # older than El Capitan. By marking the test as being unsupported with
-      # this "feature", we can pass the test on newer OS X versions and other
-      # platforms.
-      config.available_features.add('osx-no-ld64-live_support')
   except subprocess.CalledProcessError:
     pass
 


        


More information about the llvm-commits mailing list