community/ldc: run more tests

This commit is contained in:
Celeste 2024-09-06 02:24:05 +00:00
parent f6f603df7c
commit 3400fccdb3

View File

@ -2,7 +2,7 @@
# Maintainer: Mathias LANG <pro.mathias.lang@gmail.com> # Maintainer: Mathias LANG <pro.mathias.lang@gmail.com>
pkgname=ldc pkgname=ldc
pkgver=1.39.0 pkgver=1.39.0
pkgrel=0 pkgrel=1
_llvmver=18 _llvmver=18
pkgdesc="The LLVM-based D Compiler" pkgdesc="The LLVM-based D Compiler"
url="https://github.com/ldc-developers/ldc" url="https://github.com/ldc-developers/ldc"
@ -94,8 +94,8 @@ check() {
case "$CARCH" in case "$CARCH" in
# Math & numeric related tests fail due to https://github.com/ldc-developers/ldc/issues/3270#issuecomment-613132406 # Math & numeric related tests fail due to https://github.com/ldc-developers/ldc/issues/3270#issuecomment-613132406
aarch64) aarch64|loongarch64)
_tests_ignore="|std.*math.*|std\.numeric.*|std\.format|std\.algorithm\.sorting.*|std\.complex.*" _tests_ignore="|std.math.exponential|std.internal.math.gammafunction"
;; ;;
esac esac
@ -122,7 +122,7 @@ check() {
# However this unittest is AFAICS unrelated to the two tests, # However this unittest is AFAICS unrelated to the two tests,
# and either succeed or isn't run on its own. # and either succeed or isn't run on its own.
ctest --test-dir stage2 --output-on-failure \ ctest --test-dir stage2 --output-on-failure \
-E "dmd-testsuite|lit-tests|druntime-test-exceptions|druntime-test-shared|druntime-test-cycles|druntime-test-gc$_tests_ignore" -E "dmd-testsuite|lit-tests|druntime-test-exceptions|druntime-test-shared|druntime-test-cycles$_tests_ignore"
} }
package() { package() {