gnu: ldc: Use default test check.

* gnu/packages/dlang.scm (ldc)[arguments]: Strip the inherited tests
configuration from ldc-bootstrap rather than setting it to #true.
This commit is contained in:
Efraim Flashner 2023-04-10 23:17:39 +03:00 committed by Maxim Cournoyer
parent 4f7a0695ca
commit 2bad43d1c2
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -217,7 +217,8 @@ (define-public ldc
(package
(inherit ldc-bootstrap)
(arguments
(substitute-keyword-arguments (package-arguments ldc-bootstrap)
(substitute-keyword-arguments
(strip-keyword-arguments '(#:tests?) (package-arguments ldc-bootstrap))
((#:make-flags _ #f)
'(list "all"
;; Also build the test runner binaries.
@ -226,7 +227,6 @@ (define-public ldc
`(,@flags "-DBUILD_SHARED_LIBS=ON"
"-DLDC_LINK_MANUALLY=OFF"
"-DLDC_DYNAMIC_COMPILE=OFF"))
((#:tests? _) #t)
((#:phases phases)
`(modify-phases ,phases
(add-after 'unpack 'fix-compiler-rt-library-discovery