Skip to content

Commit 9b0daf4

Browse files
committed
Fix CI (formatting, make semantics tests require experimental)
1 parent 096249d commit 9b0daf4

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

libcxx/test/libcxx/assertions/semantics/assertion_semantic_incorrect_value.sh.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
// Modules build produces a different error ("Could not build module 'std'").
1313
// UNSUPPORTED: clang-modules-build
14-
// UNSUPPORTED: c++03
14+
// UNSUPPORTED: c++03, libcpp-has-no-experimental-hardening-observe-semantic
1515
// REQUIRES: verify-support
1616

1717
// Note that GCC doesn't support `-Wno-macro-redefined`.

libcxx/test/libcxx/assertions/semantics/override_with_enforce_semantic.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// `check_assertion.h` is only available starting from C++11 and requires Unix headers and regex support.
1313
// REQUIRES: has-unix-headers
1414
// UNSUPPORTED: c++03, no-localization
15-
// UNSUPPORTED: libcpp-hardening-mode=none
15+
// UNSUPPORTED: libcpp-hardening-mode=none, libcpp-has-no-experimental-hardening-observe-semantic
1616
// The ability to set a custom abort message is required to compare the assertion message.
1717
// XFAIL: availability-verbose_abort-missing
1818
// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_ASSERTION_SEMANTIC -D_LIBCPP_ASSERTION_SEMANTIC=_LIBCPP_ASSERTION_SEMANTIC_ENFORCE

libcxx/test/libcxx/assertions/semantics/override_with_ignore_semantic.pass.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// `check_assertion.h` is only available starting from C++11 and requires Unix headers and regex support.
1313
// REQUIRES: has-unix-headers
1414
// UNSUPPORTED: c++03, no-localization
15+
// UNSUPPORTED: libcpp-has-no-experimental-hardening-observe-semantic
1516
// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_ASSERTION_SEMANTIC -D_LIBCPP_ASSERTION_SEMANTIC=_LIBCPP_ASSERTION_SEMANTIC_IGNORE
1617

1718
#include <cassert>

libcxx/test/libcxx/assertions/semantics/override_with_observe_semantic.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
// `check_assertion.h` is only available starting from C++11 and requires Unix headers and regex support.
1212
// REQUIRES: has-unix-headers
1313
// UNSUPPORTED: c++03, no-localization
14-
// UNSUPPORTED: libcpp-hardening-mode=none
14+
// UNSUPPORTED: libcpp-hardening-mode=none, libcpp-has-no-experimental-hardening-observe-semantic
1515
// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_ASSERTION_SEMANTIC -D_LIBCPP_ASSERTION_SEMANTIC=_LIBCPP_ASSERTION_SEMANTIC_OBSERVE
1616

1717
#include <cassert>

libcxx/test/libcxx/assertions/semantics/override_with_quick_enforce_semantic.pass.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// `check_assertion.h` is only available starting from C++11 and requires Unix headers and regex support.
1313
// REQUIRES: has-unix-headers
1414
// UNSUPPORTED: c++03, no-localization
15-
// UNSUPPORTED: libcpp-hardening-mode=none
15+
// UNSUPPORTED: libcpp-hardening-mode=none, libcpp-has-no-experimental-hardening-observe-semantic
1616
// ADDITIONAL_COMPILE_FLAGS: -U_LIBCPP_ASSERTION_SEMANTIC -D_LIBCPP_ASSERTION_SEMANTIC=_LIBCPP_ASSERTION_SEMANTIC_QUICK_ENFORCE
1717

1818
#include <cassert>
@@ -26,4 +26,3 @@ int main(int, char**) {
2626

2727
return 0;
2828
}
29-

0 commit comments

Comments
 (0)