From b31b88d74fd95127be2b66fd169e2a7cb035f6d6 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Fri, 7 Apr 2023 11:35:21 -0300 Subject: [PATCH] harePackages.hare: remove patch It is now passing the tests! --- .../hare/000-disable-failing-test-cases.diff | 37 ------------------- .../compilers/hare/hare/default.nix | 4 -- 2 files changed, 41 deletions(-) delete mode 100644 pkgs/development/compilers/hare/hare/000-disable-failing-test-cases.diff diff --git a/pkgs/development/compilers/hare/hare/000-disable-failing-test-cases.diff b/pkgs/development/compilers/hare/hare/000-disable-failing-test-cases.diff deleted file mode 100644 index 4f8ba6056046..000000000000 --- a/pkgs/development/compilers/hare/hare/000-disable-failing-test-cases.diff +++ /dev/null @@ -1,37 +0,0 @@ -diff --git a/math/complex/+test.ha b/math/complex/+test.ha -index a1cc0916..705a0a41 100644 ---- a/math/complex/+test.ha -+++ b/math/complex/+test.ha -@@ -567,8 +567,8 @@ const TEST_COSSC: [](c128, c128) = [ - (math::INF, math::NAN)), // real sign unspecified - ((math::INF, math::NAN), - (math::NAN, math::NAN)), -- ((math::NAN, 0f64), -- (math::NAN, -0f64)), // imaginary sign unspecified -+// ((math::NAN, 0f64), -+// (math::NAN, -0f64)), // imaginary sign unspecified - ((math::NAN, 1f64), - (math::NAN, math::NAN)), - ((math::NAN, math::INF), -@@ -583,8 +583,8 @@ const TEST_COSHSC: [](c128, c128) = [ - (1f64, 0f64)), - ((0f64, math::INF), - (math::NAN, 0f64)), // imaginary sign unspecified -- ((0f64, math::NAN), -- (math::NAN, 0f64)), // imaginary sign unspecified -+// ((0f64, math::NAN), -+// (math::NAN, 0f64)), // imaginary sign unspecified - ((1f64, math::INF), - (math::NAN, math::NAN)), - ((1f64, math::NAN), -@@ -627,8 +627,8 @@ const TEST_EXPSC: [](c128, c128) = [ - (0f64, 0f64)), // real and imaginary sign unspecified - ((math::INF, math::INF), - (math::INF, math::NAN)), // real sign unspecified -- ((-math::INF, math::NAN), -- (0f64, 0f64)), // real and imaginary sign unspecified -+// ((-math::INF, math::NAN), -+// (0f64, 0f64)), // real and imaginary sign unspecified - ((math::INF, math::NAN), - (math::INF, math::NAN)), // real sign unspecified - ((math::NAN, 0f64), diff --git a/pkgs/development/compilers/hare/hare/default.nix b/pkgs/development/compilers/hare/hare/default.nix index 546bb61bbc63..297e5e6c82ca 100644 --- a/pkgs/development/compilers/hare/hare/default.nix +++ b/pkgs/development/compilers/hare/hare/default.nix @@ -23,10 +23,6 @@ stdenv.mkDerivation (self: { hash = "sha256-1cSXWD8jpW1VJZDTDOkIabczqbaDCOWsyaUSGtsKsUM="; }; - patches = [ - ./000-disable-failing-test-cases.diff - ]; - nativeBuildInputs = [ binutils-unwrapped harec