commit | 77504224d089065255e3ab94529f9ff7e877b9de | [log] [tgz] |
---|---|---|
author | Louis Dionne <ldionne.2@gmail.com> | Wed Nov 24 16:38:55 2021 -0500 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Nov 24 13:46:16 2021 -0800 |
tree | c4d14a60c428a71179cca3ba8f74cece01268f96 | |
parent | 0fd3591b8d66721dc019ad64b0a0702a2249ba7d [diff] |
[libc++] Handle armv7m in two architecture dependent tests GitOrigin-RevId: f244166c475dd3d2f9ea1be9979c1ab1a4a5ddcc
diff --git a/test/libcxx/language.support/support.rtti/type.info/type_info.comparison.apple.compile.pass.cpp b/test/libcxx/language.support/support.rtti/type.info/type_info.comparison.apple.compile.pass.cpp index d8dd1ab..6c6b1d4 100644 --- a/test/libcxx/language.support/support.rtti/type.info/type_info.comparison.apple.compile.pass.cpp +++ b/test/libcxx/language.support/support.rtti/type.info/type_info.comparison.apple.compile.pass.cpp
@@ -17,7 +17,7 @@ # error "_LIBCPP_TYPEINFO_COMPARISON_IMPLEMENTATION should be defined on Apple platforms" #endif -#if defined(__x86_64__) +#if defined(__x86_64__) || defined(__ARM_ARCH_7M__) # if _LIBCPP_TYPEINFO_COMPARISON_IMPLEMENTATION != 1 # error "_LIBCPP_TYPEINFO_COMPARISON_IMPLEMENTATION should be 1 (assume RTTI is merged) on Apple platforms" # endif
diff --git a/test/std/language.support/cmp/cmp.alg/strong_order_long_double.verify.cpp b/test/std/language.support/cmp/cmp.alg/strong_order_long_double.verify.cpp index 74ecac6..b35a50e 100644 --- a/test/std/language.support/cmp/cmp.alg/strong_order_long_double.verify.cpp +++ b/test/std/language.support/cmp/cmp.alg/strong_order_long_double.verify.cpp
@@ -10,7 +10,7 @@ // UNSUPPORTED: libcpp-no-concepts // The following platforms have sizeof(long double) == sizeof(double), so this test doesn't apply to them. -// UNSUPPORTED: target={{arm64|armv8|armv7|powerpc|powerpc64}}-{{.+}} +// UNSUPPORTED: target={{arm64|armv8|armv7|armv7m|powerpc|powerpc64}}-{{.+}} // UNSUPPORTED: target=x86_64-pc-windows-{{.+}} // <compare>