From 082988afac8ddac7525b40fb7ef8da7ff40f8ad3 Mon Sep 17 00:00:00 2001 From: Roel Janssen Date: Fri, 21 May 2021 17:04:32 +0200 Subject: gnu: Fix build for ldc. * gnu/packages/dlang.scm (ldc): Disable tests that use ptrace. --- gnu/packages/dlang.scm | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/dlang.scm b/gnu/packages/dlang.scm index da3b818c26..88a0887a0a 100644 --- a/gnu/packages/dlang.scm +++ b/gnu/packages/dlang.scm @@ -240,6 +240,17 @@ (define-public ldc (delete-file "tests/compilable/ctfe_math.d") (delete-file "tests/debuginfo/nested_gdb.d") (delete-file "tests/debuginfo/classtypes_gdb.d") + ;; for the following tests ptrace fails with EPERM + ;; (see ): + (delete-file "tests/d2/dmd-testsuite/runnable/b18504.d") + (delete-file "tests/d2/dmd-testsuite/runnable/gdb14225.d") + (delete-file "tests/d2/dmd-testsuite/runnable/gdb14276.d") + (delete-file "tests/d2/dmd-testsuite/runnable/gdb14313.d") + (delete-file "tests/d2/dmd-testsuite/runnable/gdb14330.d") + (delete-file "tests/d2/dmd-testsuite/runnable/gdb1.d") + (delete-file "tests/d2/dmd-testsuite/runnable/gdb4149.d") + (delete-file "tests/d2/dmd-testsuite/runnable/gdb4181.d") + (delete-file "tests/d2/dmd-testsuite/runnable/gdb15729.sh") ;; the following tests plugins we don't have. (delete-file "tests/plugins/addFuncEntryCall/testPlugin.d") ;; the following tests requires AVX instruction set in the CPU. -- cgit v1.2.3