From e3aeb4295346f6f5d8163ccf07627aae45afb9bff617ef1dd4beebbb056bc60c Mon Sep 17 00:00:00 2001 From: Aaron Puchert Date: Sun, 19 Nov 2023 22:49:29 +0000 Subject: [PATCH] - Expect some test failures on i586. OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm17?expand=0&rev=15 --- llvm17.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/llvm17.spec b/llvm17.spec index 403d2fe..0e821ae 100644 --- a/llvm17.spec +++ b/llvm17.spec @@ -1400,8 +1400,12 @@ rm -r ../tools/clang/test/ClangScanDeps python3 bin/llvm-lit -sv --param clang_site_config=tools/clang/test/lit.site.cfg \ --param USE_Z3_SOLVER=0 tools/clang/test/ +# The implementation of abseil-duration-factory-scale breaks with extended +# precision, and the Altera test assumes 8-byte alignment for double. +sed -i '1i// XFAIL: target=i586-{{.*}}' ../tools/clang/tools/extra/test/clang-tidy/checkers/{abseil/duration-factory-scale.cpp,altera/struct-pack-align.cpp} python3 bin/llvm-lit -sv tools/clang/tools/extra/test/ python3 bin/llvm-lit -sv tools/clang/tools/extra/clangd/test/ + python3 bin/llvm-lit -sv tools/lld/test/ %if %{with libcxx}