[libcxx-commits] [libcxx] r356169 - Fix two of the three bot failures for midpoint; the ones regarding the lack of '__int128_t'
Marshall Clow via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Mar 14 10:20:03 PDT 2019
Author: marshall
Date: Thu Mar 14 10:20:02 2019
New Revision: 356169
URL: http://llvm.org/viewvc/llvm-project?rev=356169&view=rev
Log:
Fix two of the three bot failures for midpoint; the ones regarding the lack of '__int128_t'
Modified:
libcxx/trunk/test/libcxx/numerics/numeric.ops/midpoint.integer.pass.cpp
libcxx/trunk/test/std/numerics/numeric.ops/numeric.ops.midpoint/midpoint.integer.pass.cpp
Modified: libcxx/trunk/test/libcxx/numerics/numeric.ops/midpoint.integer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/libcxx/numerics/numeric.ops/midpoint.integer.pass.cpp?rev=356169&r1=356168&r2=356169&view=diff
==============================================================================
--- libcxx/trunk/test/libcxx/numerics/numeric.ops/midpoint.integer.pass.cpp (original)
+++ libcxx/trunk/test/libcxx/numerics/numeric.ops/midpoint.integer.pass.cpp Thu Mar 14 10:20:02 2019
@@ -41,7 +41,6 @@ int main(int, char**)
test<int16_t>();
test<int32_t>();
test<int64_t>();
- test<__int128_t>();
test<unsigned char>();
test<unsigned short>();
@@ -53,7 +52,11 @@ int main(int, char**)
test<uint16_t>();
test<uint32_t>();
test<uint64_t>();
+
+#ifndef _LIBCPP_HAS_NO_INT128
+ test<__int128_t>();
test<__uint128_t>();
+#endif
test<char>();
test<ptrdiff_t>();
Modified: libcxx/trunk/test/std/numerics/numeric.ops/numeric.ops.midpoint/midpoint.integer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/numeric.ops/numeric.ops.midpoint/midpoint.integer.pass.cpp?rev=356169&r1=356168&r2=356169&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/numeric.ops/numeric.ops.midpoint/midpoint.integer.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/numeric.ops/numeric.ops.midpoint/midpoint.integer.pass.cpp Thu Mar 14 10:20:02 2019
@@ -115,7 +115,6 @@ int main(int, char**)
signed_test<int16_t>();
signed_test<int32_t>();
signed_test<int64_t>();
- signed_test<__int128_t>();
unsigned_test<unsigned char>();
unsigned_test<unsigned short>();
@@ -127,7 +126,11 @@ int main(int, char**)
unsigned_test<uint16_t>();
unsigned_test<uint32_t>();
unsigned_test<uint64_t>();
+
+#ifndef _LIBCPP_HAS_NO_INT128
unsigned_test<__uint128_t>();
+ signed_test<__int128_t>();
+#endif
// int_test<char>();
signed_test<ptrdiff_t>();
More information about the libcxx-commits
mailing list