From 53aff8d864ad48d00d2dc5e49ad07034e8dcb82f Mon Sep 17 00:00:00 2001 From: Julian Lettner Date: Thu, 20 Aug 2020 16:33:40 -0700 Subject: [PATCH] [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. --- compiler-rt/test/asan/TestCases/initialization-bug.cpp | 4 ---- compiler-rt/test/lit.common.cfg.py | 6 ------ 2 files changed, 10 deletions(-) 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 // 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 config.host_os == 'Darwin': 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