From 2f3f17bf9e67d07dc0065ff0381090132d6716a5 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Wed, 29 May 2024 22:36:57 -0400 Subject: [PATCH] Disable NegativeNaN test on riscv64 Signed-off-by: Neil Hanlon --- abseil-cpp.spec | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/abseil-cpp.spec b/abseil-cpp.spec index 5873a80..07d5a13 100644 --- a/abseil-cpp.spec +++ b/abseil-cpp.spec @@ -3,7 +3,7 @@ Name: abseil-cpp Version: 20240116.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: C++ Common Libraries # The entire source is Apache-2.0, except: @@ -90,6 +90,17 @@ Development headers for %{name} %prep %autosetup -p1 -S gendiff +%ifarch riscv64 +# NOTE(davidlt): see https://github.com/WebAssembly/design/issues/646 +# [==========] 125 tests from 35 test suites ran. (3501 ms total) +# [ PASSED ] 124 tests. +# [ FAILED ] 1 test, listed below: +# [ FAILED ] FloatingPointLogFormatTest/0.NegativeNaN, where TypeParam = float +# 1 FAILED TEST +sed -r -i 's/\bNegativeNaN\b/DISABLED_&/' \ + absl/log/log_format_test.cc +%endif + %build # ABSL_BUILD_TEST_HELPERS is needed to build libraries for the -testing # subpackage when tests are not enabled. It is therefore redundant here, but we @@ -234,6 +245,9 @@ Development headers for %{name} %{_libdir}/pkgconfig/absl_*.pc %changelog +* Wed May 29 2024 David Abdurachmanov - 20240116.2-2 +- Disable NegativeNaN test on riscv64 + * Tue Apr 09 2024 Benjamin A. Beasley - 20240116.2-1 - Update to 20240116.2 (close RHBZ#2274172)