gnu: ldc: Update skipped tests on i686-linux.

* gnu/packages/dlang.scm (ldc)[arguments]: Adjust custom
'disable-problematic-tests phase to skip fewer tests.
This commit is contained in:
Efraim Flashner 2022-06-26 14:31:41 +03:00
parent e1a669b6d2
commit 25e5daf1b1
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351

View File

@ -298,30 +298,22 @@ bootstrapping more recent compilers written in D.")
(substitute* "runtime/druntime/test/exceptions/Makefile" (substitute* "runtime/druntime/test/exceptions/Makefile"
((".*TESTS\\+=rt_trap_exceptions_drt_gdb.*") ((".*TESTS\\+=rt_trap_exceptions_drt_gdb.*")
"")) ""))
;; The following tests fail on the supported 32 bit systems, ;; The following tests fail on some systems, not all of
;; which are not tested upstream. ;; which are tested upstream.
(with-directory-excursion "tests" (with-directory-excursion "tests"
(let ((system ,(or (%current-target-system) (cond
(%current-system)))) (,(or (target-x86-32?)
(when (or (string-prefix? "armhf" system ) (target-arm32?))
(string-prefix? "i686" system ))
(for-each delete-file (for-each delete-file
'("PGO/profile_rt_calls.d" '("PGO/profile_rt_calls.d"
"codegen/mangling.d" "codegen/mangling.d"
"debuginfo/print_gdb.d"
"dynamiccompile/bind.d"
"dynamiccompile/bind_bool.d"
"dynamiccompile/bind_func_opt.d"
"dynamiccompile/bind_nested_opt.d"
"dynamiccompile/bind_opt.d"
"dynamiccompile/compiler_context.d"
"dynamiccompile/compiler_context_parallel.d"
"instrument/xray_check_pipeline.d" "instrument/xray_check_pipeline.d"
"instrument/xray_link.d" "instrument/xray_link.d"
"instrument/xray_simple_execution.d" "instrument/xray_simple_execution.d"
"sanitizers/msan_noerror.d" "sanitizers/msan_noerror.d"
"sanitizers/msan_uninitialized.d" "sanitizers/msan_uninitialized.d"
"d2/dmd-testsuite/runnable_cxx/cppa.d"))))))) "d2/dmd-testsuite/runnable_cxx/cppa.d")))
(#t '())))))
(add-before 'configure 'set-cc-and-cxx-to-use-clang (add-before 'configure 'set-cc-and-cxx-to-use-clang
;; The tests require to be built with Clang; build everything ;; The tests require to be built with Clang; build everything
;; with it, for simplicity. ;; with it, for simplicity.