This is an automated email from the git hooks/post-receive script. rafael pushed a commit to branch master in repository praat.
commit 4367dbdf089edb1e9594d5dc496d98148767b2e5 Author: Rafael Laboissiere <[email protected]> Date: Sun Oct 15 07:14:33 2017 -0200 d/p/fix-unit-test-procrustes.patch: New patch --- debian/patches/fix-procrustes-unit-test.patch | 21 +++++++++++++++++++++ debian/patches/series | 3 ++- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/debian/patches/fix-procrustes-unit-test.patch b/debian/patches/fix-procrustes-unit-test.patch new file mode 100644 index 0000000..22044b6 --- /dev/null +++ b/debian/patches/fix-procrustes-unit-test.patch @@ -0,0 +1,21 @@ +Description: Fix unit test in test_Procrustes + The unit test in file dwtest/test_Procrustes.praat is failing + randomly, because the initial date is chosen by using a random number + generator. The problem is fixed by multiplying by 10 the tolerance + used in the asseriton command. This is not very principled, but + seems to drastically reduce the incidence of the error. +Author: Rafael Laboissiere <[email protected]> +Forwarded: https://github.com/praat/praat/issues/495 +Last-Update: 2017-10-15 + +--- praat-6.0.34.orig/dwtest/test_Procrustes.praat ++++ praat-6.0.34/dwtest/test_Procrustes.praat +@@ -107,7 +107,7 @@ procedure test_procrustes_random_configu + Rename... X_Yi + # no need to test the translations, they need not be equal (see BG page 347) + sp = Get scale +- assert abs(scale - sp) < .eps; scale ++ assert abs(scale - sp) < 10 * .eps; scale + + # printline o.k.: nr='nr', nc='nc', alpha='alpha' degrees, scale='scale', t=('t1', 't2') + nr *= 2 diff --git a/debian/patches/series b/debian/patches/series index cc12c90..6218522 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,4 +1,5 @@ use-ldflags.patch remove-time-date-macros.patch fix-pca-unit-test.patch -fix-polynomial-unit-test.patch \ No newline at end of file +fix-polynomial-unit-test.patch +fix-procrustes-unit-test.patch -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/praat.git _______________________________________________ debian-med-commit mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit
