From 626ee093ec0032a531f60e3bbd862d72bb67ca1a Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Sep 06 2019 15:19:32 +0000 Subject: Remove an unused patch/source file. --- diff --git a/patch-testsuite-epsilon b/patch-testsuite-epsilon deleted file mode 100644 index 3a7d8d0..0000000 --- a/patch-testsuite-epsilon +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/xs/t/03_point.t b/xs/t/03_point.t -index cb71f68..0cc58e1 100644 ---- a/xs/t/03_point.t -+++ b/xs/t/03_point.t -@@ -44,7 +44,7 @@ ok !$point->coincides_with($point2), 'coincides_with'; - - { - my $line = Slic3r::Line->new([50,50], [125,-25]); -- is +Slic3r::Point->new(100,0)->distance_to_line($line), 0, 'distance_to_line()'; -+ cmp_ok(abs(Slic3r::Point->new(100,0)->distance_to_line($line)), '<=', 4e-15, 'distance_to_line()'); - } - - { diff --git a/prusa-slicer.spec b/prusa-slicer.spec index 128ed66..f803d66 100644 --- a/prusa-slicer.spec +++ b/prusa-slicer.spec @@ -20,13 +20,6 @@ Source0: https://github.com/prusa3d/PrusaSlicer/archive/version_2.1.0-rc. Source1: %name.desktop Source2: %name.appdata.xml -# A single test suite fails, but only on aarch64 and s390x, due to floating -# point rouding issues. This patch adds small epsilon (4e-15) to one -# comparison to work around this. -# We will conditionally apply this so it's a source file, not a patch. -# https://github.com/prusa3d/PrusaSlicer/issues/2461 -Source10: patch-testsuite-epsilon - BuildRequires: boost-devel BuildRequires: cmake BuildRequires: cereal-devel