summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2020-10-14 19:09:33 +0200
committerAlfredo Tupone <tupone@gentoo.org>2020-10-14 19:10:06 +0200
commitcc5a6575aa0c2408fbe0793f3e19164e2ba02202 (patch)
tree7bd2267c455b4e05372ecb97cb8948a41214c5a2 /dev-tcltk
parentdev-lang/go: Stabilize 1.14.9 arm64, #748981 (diff)
downloadgentoo-cc5a6575aa0c2408fbe0793f3e19164e2ba02202.tar.gz
gentoo-cc5a6575aa0c2408fbe0793f3e19164e2ba02202.tar.bz2
gentoo-cc5a6575aa0c2408fbe0793f3e19164e2ba02202.zip
dev-tcltk/snack: remove other test due to math precision
Closes: https://bugs.gentoo.org/748972 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-tcltk')
-rw-r--r--dev-tcltk/snack/files/snack-2.2.10-test.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/dev-tcltk/snack/files/snack-2.2.10-test.patch b/dev-tcltk/snack/files/snack-2.2.10-test.patch
index 0aa87c684364..76c1ab17a9cd 100644
--- a/dev-tcltk/snack/files/snack-2.2.10-test.patch
+++ b/dev-tcltk/snack/files/snack-2.2.10-test.patch
@@ -110,3 +110,21 @@
test power-1.2 {power command} {
set s [snack::sound snd -load ex1.wav]
set tcl_precision 5
+--- a/tests/dbpower.test 2020-10-14 19:03:17.821543729 +0200
++++ b/tests/dbpower.test 2020-10-14 19:03:36.234218978 +0200
+@@ -17,15 +17,6 @@
+ set res
+ } {-76.131 -82.843 -107.69 -102.82 -101.37 -102.09 -95.375 -95.568 -95.339 -98.854 -101.56 -98.987 -126.39 -106.92 -107.49 -105.77}
+
+-test dbpower-1.2 {dBPowerSpectrum command, -end option} {
+- set s [snack::sound snd -load ex1.wav]
+- set tcl_precision 5
+- set res [$s dBPowerSpectrum -start 1000 -end 2000 -fftlength 32 \
+- -windowlength 32]
+- $s destroy
+- set res
+-} {-44.938 -51.981 -83.818 -91.582 -95.218 -97.588 -97.686 -99.849 -99.143 -100.16 -102.67 -102.81 -102.91 -104.24 -104.26 -107.86}
+-
+ test dbpower-1.3 {dBPowerSpectrum command, -end and -skip options} {
+ set s [snack::sound snd -load ex1.wav]
+ set tcl_precision 5