[openturns] 01/04: Drop debian/patches/modify-tests-O0-i386.patch
Denis Barbier
barbier-guest at moszumanska.debian.org
Sun Aug 17 23:14:15 UTC 2014
This is an automated email from the git hooks/post-receive script.
barbier-guest pushed a commit to branch debian
in repository openturns.
commit 79321de884b5ed9016e2272a9f5fa9b110029971
Author: Denis Barbier <bouzim at gmail.com>
Date: Wed Aug 13 10:18:25 2014 +0200
Drop debian/patches/modify-tests-O0-i386.patch
It looks like gcc has been fixed, t_TrapezoidalFactory_std
now gives the same result on *-i386 architectures as on other.
---
debian/patches/modify-tests-O0-i386.patch | 37 -------------------------------
debian/rules | 12 ----------
2 files changed, 49 deletions(-)
diff --git a/debian/patches/modify-tests-O0-i386.patch b/debian/patches/modify-tests-O0-i386.patch
deleted file mode 100644
index 2821c77..0000000
--- a/debian/patches/modify-tests-O0-i386.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-Description: Modify output of TrapezoidalFactory tests.
- There is a bug in GCC 4.8 on *-i386 architectures, several tests
- hang. In order to avoid these problems, algocobyla.c is compiled
- without optimization; but those tests must be modified.
- This patch is applied only on *-i386 architectures.
-Author: Denis Barbier
-Origin: Debian
-Forwarded: no
-Last-Update: 2013-07-02
-
---- openturns-1.1.orig/lib/test/t_TrapezoidalFactory_std.expout
-+++ openturns-1.1/lib/test/t_TrapezoidalFactory_std.expout
-@@ -1,8 +1,8 @@
- Distribution =class=Trapezoidal name=Trapezoidal dimension=1 a=1 b=2.3 c=4.5 d=5 h=0.322581
--Estimated distribution=class=Trapezoidal name=Trapezoidal dimension=1 a=1.006 b=2.275 c=4.545 d=4.99 h=0.3198
-+Estimated distribution=class=Trapezoidal name=Trapezoidal dimension=1 a=1.005 b=2.279 c=4.545 d=4.99 h=0.32
- Default distribution=class=Trapezoidal name=Trapezoidal dimension=1 a=-2 b=-1 c=1 d=2 h=0.333333
- Distribution from parameters=class=Trapezoidal name=Trapezoidal dimension=1 a=1 b=2.3 c=4.5 d=5 h=0.322581
- Trapezoidal =class=Trapezoidal name=Trapezoidal dimension=1 a=1 b=2.3 c=4.5 d=5 h=0.322581
--Estimated trapezoidal=class=Trapezoidal name=Trapezoidal dimension=1 a=1.006 b=2.275 c=4.545 d=4.99 h=0.3198
-+Estimated trapezoidal=class=Trapezoidal name=Trapezoidal dimension=1 a=1.005 b=2.279 c=4.545 d=4.99 h=0.32
- Default trapezoidal=class=Trapezoidal name=Trapezoidal dimension=1 a=-2 b=-1 c=1 d=2 h=0.333333
- Trapezoidal from parameters=class=Trapezoidal name=Trapezoidal dimension=1 a=1 b=2.3 c=4.5 d=5 h=0.322581
---- openturns-1.1.orig/python/test/t_TrapezoidalFactory_std.expout
-+++ openturns-1.1/python/test/t_TrapezoidalFactory_std.expout
-@@ -1,8 +1,8 @@
- distribution= class=Trapezoidal name=Trapezoidal dimension=1 a=1 b=2.3 c=4.5 d=5 h=0.322581
--Estimated distribution= class=Trapezoidal name=Trapezoidal dimension=1 a=1.006 b=2.275 c=4.545 d=4.99 h=0.3198
-+Estimated distribution= class=Trapezoidal name=Trapezoidal dimension=1 a=1.005 b=2.279 c=4.545 d=4.99 h=0.32
- Default distribution= Trapezoidal(a = -2, b = -1, c = 1, d = 2)
- Distribution from parameters= Trapezoidal(a = 1, b = 2.3, c = 4.5, d = 5)
- Trapezoidal = Trapezoidal(a = 1, b = 2.3, c = 4.5, d = 5)
--Estimated trapezoidal= Trapezoidal(a = 1.006, b = 2.275, c = 4.545, d = 4.99)
-+Estimated trapezoidal= Trapezoidal(a = 1.005, b = 2.279, c = 4.545, d = 4.99)
- Default trapezoidal= Trapezoidal(a = -2, b = -1, c = 1, d = 2)
- Trapezoidal from parameters= Trapezoidal(a = 1, b = 2.3, c = 4.5, d = 5)
-
diff --git a/debian/rules b/debian/rules
index 194c6ac..8cd2f07 100755
--- a/debian/rules
+++ b/debian/rules
@@ -53,18 +53,6 @@ debian/tmp/usr/lib/R/site-library/rot:
-mkdir -p $(debRlib)
R CMD INSTALL --library=$(debRlib) utils/rot_1.4.5.tar.gz
-ifneq (,$(findstring $(shell dpkg-architecture -qDEB_HOST_ARCH), i386 kfreebsd-i386 hurd-i386))
-override_dh_quilt_patch:
- dh_quilt_patch
- test -e debian/patches/modify-tests-O0-i386.applied || patch -p1 < debian/patches/modify-tests-O0-i386.patch
- touch debian/patches/modify-tests-O0-i386.applied
-
-override_dh_quilt_unpatch:
- test ! -e debian/patches/modify-tests-O0-i386.applied || patch -R -p1 < debian/patches/modify-tests-O0-i386.patch
- -rm -f debian/patches/modify-tests-O0-i386.applied
- dh_quilt_unpatch
-endif
-
override_dh_auto_configure: debian/tmp/usr/lib/R/site-library/rot
dh_auto_configure -- \
$(with_tbb) \
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/openturns.git
More information about the debian-science-commits
mailing list