[theano] 02/07: Disable another wall-clock speed test (similar to #835531)
Rebecca Palmer
rnpalmer-guest at moszumanska.debian.org
Thu Sep 21 22:11:28 UTC 2017
This is an automated email from the git hooks/post-receive script.
rnpalmer-guest pushed a commit to branch master
in repository theano.
commit dba1c29ee322c24ae6b89bdee64ebeec7718f099
Author: Rebecca N. Palmer <rebecca_palmer at zoho.com>
Date: Wed Sep 20 18:59:12 2017 +0100
Disable another wall-clock speed test (similar to #835531)
These are inherently unreliable on shared buildds - this one caused
a reproducible-builds FTBFS
---
debian/changelog | 1 +
.../disable-overly-environment-dependent-test.patch | 14 ++++++++++++--
2 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 2585b7a..f116ae3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ theano (0.9.0-1) UNRELEASED; urgency=medium
not all of News and Download.
* Change Uploaders. (Closes: #852138)
* Update and sort d/copyright.
+ * Disable another wall-clock speed test (similar to #835531).
-- Rebecca N. Palmer <rebecca_palmer at zoho.com> Mon, 18 Sep 2017 22:15:10 +0100
diff --git a/debian/patches/disable-overly-environment-dependent-test.patch b/debian/patches/disable-overly-environment-dependent-test.patch
index 42ae053..0ef2deb 100644
--- a/debian/patches/disable-overly-environment-dependent-test.patch
+++ b/debian/patches/disable-overly-environment-dependent-test.patch
@@ -1,4 +1,4 @@
-Description: Disable overly environment-dependent test
+Description: Disable overly environment-dependent tests
Testing speed by wall-clock time is inherently unreliable on a
shared machine such as Debian's buildds: don't let it fail the whole build.
Author: Rebecca N. Palmer <rebecca_palmer at zoho.com>
@@ -7,7 +7,16 @@ Forwarded: not-needed
--- a/theano/sparse/tests/test_basic.py
+++ b/theano/sparse/tests/test_basic.py
-@@ -1292,8 +1292,8 @@ class test_structureddot(unittest.TestCa
+@@ -1256,7 +1256,7 @@ class test_structureddot(unittest.TestCa
+ overhead_tol = 0.003 # seconds overall
+ overhead_rtol = 1.2 # times as long
+ utt.assert_allclose(scipy_result, theano_result)
+- if not theano.config.mode in ["DebugMode", "DEBUG_MODE"]:
++ if 0:
+ self.assertFalse(theano_time > overhead_rtol * scipy_time +
+ overhead_tol)
+
+ @@ -1292,8 +1292,8 @@ class test_structureddot(unittest.TestCa
overhead_tol = 0.002 # seconds
overhead_rtol = 1.1 # times as long
utt.assert_allclose(scipy_result, theano_result)
@@ -18,3 +27,4 @@ Forwarded: not-needed
self.assertFalse(
theano_time > overhead_rtol * scipy_time + overhead_tol,
(theano_time,
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/theano.git
More information about the debian-science-commits
mailing list