From ca4361d5ded27f8249a34545c7ef5116b8475b53 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Wed, 31 Aug 2022 08:46:41 +0100 Subject: [PATCH] dmd: disable whitespace-sensitive tests for binutils-2.39 Without the change two tests fail on `binutils-2.39` due to whitespace change in `objdump` output as: FAILED targets: - runnable/cdvecfill.sh - compilable/cdcmp.d Let's disable the tests until they are fixed upstream: https://issues.dlang.org/show_bug.cgi?id=23317 --- pkgs/development/compilers/dmd/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/compilers/dmd/default.nix b/pkgs/development/compilers/dmd/default.nix index 4565128f52b0..1c15e8b970b7 100644 --- a/pkgs/development/compilers/dmd/default.nix +++ b/pkgs/development/compilers/dmd/default.nix @@ -84,6 +84,11 @@ stdenv.mkDerivation rec { postPatch = '' patchShebangs . + + # Disable tests that rely on objdump whitespace until fixed upstream: + # https://issues.dlang.org/show_bug.cgi?id=23317 + rm dmd/test/runnable/cdvecfill.sh + rm dmd/test/compilable/cdcmp.d '' # This one has tested against a hardcoded year, then against a current year on