forked from OSchip/llvm-project
[libc++] Add CI without experimental features and don't exclude span from the tests
There is no reason for the parts of std::span that don't depend on ranges to be disabled when ranges aren't provided. Also, to make sure the "no-experimental-stuff" configuration is tested, add a CI job for it. Differential Revision: https://reviews.llvm.org/D118740
This commit is contained in:
parent
9031e5113c
commit
99ae458231
|
@ -0,0 +1,2 @@
|
|||
set(LIBCXX_ENABLE_EXPERIMENTAL_LIBRARY OFF CACHE BOOL "")
|
||||
set(LIBCXX_ENABLE_INCOMPLETE_FEATURES OFF CACHE BOOL "")
|
|
@ -6,7 +6,6 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-has-no-incomplete-ranges
|
||||
|
||||
// AppleClang 12.0.0 doesn't fully support ranges/concepts
|
||||
// XFAIL: apple-clang-12.0.0
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-has-no-incomplete-ranges
|
||||
|
||||
// AppleClang 12.0.0 doesn't fully support ranges/concepts
|
||||
// XFAIL: apple-clang-12.0.0
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-no-concepts
|
||||
// UNSUPPORTED: libcpp-has-no-incomplete-ranges
|
||||
|
||||
// <span>
|
||||
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-has-no-incomplete-ranges
|
||||
|
||||
// AppleClang 12.0.0 doesn't fully support ranges/concepts
|
||||
// XFAIL: apple-clang-12.0.0
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
//
|
||||
//===---------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-has-no-incomplete-ranges
|
||||
|
||||
// AppleClang 12.0.0 doesn't fully support ranges/concepts
|
||||
// XFAIL: apple-clang-12.0.0
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
//
|
||||
//===---------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-has-no-incomplete-ranges
|
||||
|
||||
// AppleClang 12.0.0 doesn't fully support ranges/concepts
|
||||
// XFAIL: apple-clang-12.0.0
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
//
|
||||
//===---------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-has-no-incomplete-ranges
|
||||
|
||||
// AppleClang 12.0.0 doesn't fully support ranges/concepts
|
||||
// XFAIL: apple-clang-12.0.0
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
//
|
||||
//===---------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-has-no-incomplete-ranges
|
||||
|
||||
// AppleClang 12.0.0 doesn't fully support ranges/concepts
|
||||
// XFAIL: apple-clang-12.0.0
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-has-no-incomplete-ranges
|
||||
|
||||
// AppleClang 12.0.0 doesn't fully support ranges/concepts
|
||||
// XFAIL: apple-clang-12.0.0
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-has-no-incomplete-ranges
|
||||
|
||||
// AppleClang 12.0.0 doesn't fully support ranges/concepts
|
||||
// XFAIL: apple-clang-12.0.0
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-has-no-incomplete-ranges
|
||||
|
||||
// AppleClang 12.0.0 doesn't fully support ranges/concepts
|
||||
// XFAIL: apple-clang-12.0.0
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-has-no-incomplete-ranges
|
||||
|
||||
// AppleClang 12.0.0 doesn't fully support ranges/concepts
|
||||
// XFAIL: apple-clang-12.0.0
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-has-no-incomplete-ranges
|
||||
|
||||
// AppleClang 12.0.0 doesn't fully support ranges/concepts
|
||||
// XFAIL: apple-clang-12.0.0
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-has-no-incomplete-ranges
|
||||
|
||||
// AppleClang 12.0.0 doesn't fully support ranges/concepts
|
||||
// XFAIL: apple-clang-12.0.0
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-has-no-incomplete-ranges
|
||||
|
||||
// AppleClang 12.0.0 doesn't fully support ranges/concepts
|
||||
// XFAIL: apple-clang-12.0.0
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-has-no-incomplete-ranges
|
||||
|
||||
// AppleClang 12.0.0 doesn't fully support ranges/concepts
|
||||
// XFAIL: apple-clang-12.0.0
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-has-no-incomplete-ranges
|
||||
|
||||
// AppleClang 12.0.0 doesn't fully support ranges/concepts
|
||||
// XFAIL: apple-clang-12.0.0
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-has-no-incomplete-ranges
|
||||
|
||||
// AppleClang 12.0.0 doesn't fully support ranges/concepts
|
||||
// XFAIL: apple-clang-12.0.0
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-has-no-incomplete-ranges
|
||||
|
||||
// AppleClang 12.0.0 doesn't fully support ranges/concepts
|
||||
// XFAIL: apple-clang-12.0.0
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-has-no-incomplete-ranges
|
||||
|
||||
// <span>
|
||||
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-has-no-incomplete-ranges
|
||||
|
||||
// AppleClang 12.0.0 doesn't fully support ranges/concepts
|
||||
// XFAIL: apple-clang-12.0.0
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-has-no-incomplete-ranges
|
||||
|
||||
// AppleClang 12.0.0 doesn't fully support ranges/concepts
|
||||
// XFAIL: apple-clang-12.0.0
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-has-no-incomplete-ranges
|
||||
|
||||
// AppleClang 12.0.0 doesn't fully support ranges/concepts
|
||||
// XFAIL: apple-clang-12.0.0
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-has-no-incomplete-ranges
|
||||
|
||||
// AppleClang 12.0.0 doesn't fully support ranges/concepts
|
||||
// XFAIL: apple-clang-12.0.0
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-has-no-incomplete-ranges
|
||||
|
||||
// AppleClang 12.0.0 doesn't fully support ranges/concepts
|
||||
// XFAIL: apple-clang-12.0.0
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-has-no-incomplete-ranges
|
||||
|
||||
// AppleClang 12.0.0 doesn't fully support ranges/concepts
|
||||
// XFAIL: apple-clang-12.0.0
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-has-no-incomplete-ranges
|
||||
|
||||
// AppleClang 12.0.0 doesn't fully support ranges/concepts
|
||||
// XFAIL: apple-clang-12.0.0
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-has-no-incomplete-ranges
|
||||
|
||||
// AppleClang 12.0.0 doesn't fully support ranges/concepts
|
||||
// XFAIL: apple-clang-12.0.0
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-has-no-incomplete-ranges
|
||||
|
||||
// AppleClang 12.0.0 doesn't fully support ranges/concepts
|
||||
// XFAIL: apple-clang-12.0.0
|
||||
|
|
|
@ -465,6 +465,19 @@ steps:
|
|||
limit: 2
|
||||
timeout_in_minutes: 120
|
||||
|
||||
- label: "No experimental features"
|
||||
command: "libcxx/utils/ci/run-buildbot generic-no-experimental"
|
||||
artifact_paths:
|
||||
- "**/test-results.xml"
|
||||
agents:
|
||||
queue: "libcxx-builders"
|
||||
os: "linux"
|
||||
retry:
|
||||
automatic:
|
||||
- exit_status: -1 # Agent was lost
|
||||
limit: 2
|
||||
timeout_in_minutes: 120
|
||||
|
||||
# Other non-testing CI jobs
|
||||
- label: "Benchmarks"
|
||||
command: "libcxx/utils/ci/run-buildbot benchmarks"
|
||||
|
|
|
@ -390,6 +390,13 @@ generic-no-wide-characters)
|
|||
-DLIBUNWIND_TEST_CONFIG="llvm-libunwind-shared.cfg.in"
|
||||
check-runtimes
|
||||
;;
|
||||
generic-no-experimental)
|
||||
clean
|
||||
generate-cmake -C "${MONOREPO_ROOT}/libcxx/cmake/caches/Generic-no-experimental.cmake" \
|
||||
-DLIBCXX_TEST_CONFIG="llvm-libc++-shared.cfg.in" \
|
||||
-DLIBUNWIND_TEST_CONFIG="llvm-libunwind-shared.cfg.in"
|
||||
check-runtimes
|
||||
;;
|
||||
apple-system)
|
||||
clean
|
||||
|
||||
|
|
Loading…
Reference in New Issue