[Pkg-javascript-commits] [node-expat] 153/371: Relax timing tolerance of test to avoid failure on slow architectures. Closes: bug#670678. Thanks to Aaron M. Ucko.

Jonas Smedegaard dr at jones.dk
Sun Feb 28 09:59:57 UTC 2016


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository node-expat.

commit 8461498e49aa074da40a7598ffc8784cbecaa423
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Thu May 10 14:41:35 2012 +0200

    Relax timing tolerance of test to avoid failure on slow architectures. Closes: bug#670678. Thanks to Aaron M. Ucko.
---
 debian/patches/1001_relax_test_timing_tolerance.patch | 16 ++++++++++++++++
 debian/patches/series                                 |  1 +
 2 files changed, 17 insertions(+)

diff --git a/debian/patches/1001_relax_test_timing_tolerance.patch b/debian/patches/1001_relax_test_timing_tolerance.patch
new file mode 100644
index 0000000..80c2c85
--- /dev/null
+++ b/debian/patches/1001_relax_test_timing_tolerance.patch
@@ -0,0 +1,16 @@
+Description: Relax timing tolerance of test to avoid failure on slow architectures
+Author: Jonas Smedegaard <dr at jones.dk>
+Bug-Debian: http://bugs.debian.org/670678
+Last-Update: 2012-05-10
+
+--- a/test.js
++++ b/test.js
+@@ -211,7 +211,7 @@
+ 	    var expected = ['wrap', 'short', 'short', 'long', 'short', 'long'];
+ 	    var received = [];
+ 
+-	    var tolerance = 10/100;
++	    var tolerance = 1;
+ 	    var expectedRuntime = 1000;
+ 	    var start = new Date();
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..e3c3987
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+1001_relax_test_timing_tolerance.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-expat.git



More information about the Pkg-javascript-commits mailing list