public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/files/
@ 2019-05-15  8:41 Alfredo Tupone
  0 siblings, 0 replies; 5+ messages in thread
From: Alfredo Tupone @ 2019-05-15  8:41 UTC (permalink / raw
  To: gentoo-commits

commit:     dc14f01da0a036992a9ccad3fbf64bd5bd0bc10e
Author:     Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Wed May 15 08:41:00 2019 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed May 15 08:41:42 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc14f01d

dev-tcltk/snack: Fix missing mixer during test

Closes: https://bugs.gentoo.org/682538
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

 dev-tcltk/snack/files/snack-2.2.10-test.patch | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

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 724ccd686fc..8d2dcc61fe1 100644
--- a/dev-tcltk/snack/files/snack-2.2.10-test.patch
+++ b/dev-tcltk/snack/files/snack-2.2.10-test.patch
@@ -20,3 +20,18 @@
  
  test power-1.2 {power command} {
    set s [snack::sound snd -load ex1.wav]
+--- a/tests/mixer.test	2019-05-15 08:41:24.761148030 +0200
++++ b/tests/mixer.test	2019-05-15 08:41:37.902919720 +0200
+@@ -13,12 +13,6 @@
+   set msg
+ } {bad option "junk": must be devices, select, input, inputs, output, outputs, channels, volume, lines, or update}
+ 
+-test mixer-1.2 {snack::mixer devices command} {
+-  set devs [snack::mixer devices]
+-  set res [expr [string length $devs] > 0]
+-  set res
+-} 1
+-
+ test mixer-1.3 {snack::mixer select command} {
+   catch {snack::mixer select junk} msg
+   set msg


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/files/
@ 2019-06-22 17:10 Alfredo Tupone
  0 siblings, 0 replies; 5+ messages in thread
From: Alfredo Tupone @ 2019-06-22 17:10 UTC (permalink / raw
  To: gentoo-commits

commit:     922269677f62ec575ba740404c46e29edf7c6694
Author:     Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 22 17:10:15 2019 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sat Jun 22 17:10:15 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92226967

dev-tcltk/snack: Fix test with oss

Closes: https://bugs.gentoo.org/687308
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11

 dev-tcltk/snack/files/snack-2.2.10-test.patch | 41 +++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

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 8d2dcc61fe1..0c5ed836a59 100644
--- a/dev-tcltk/snack/files/snack-2.2.10-test.patch
+++ b/dev-tcltk/snack/files/snack-2.2.10-test.patch
@@ -35,3 +35,44 @@
  test mixer-1.3 {snack::mixer select command} {
    catch {snack::mixer select junk} msg
    set msg
+--- a/tests/audio.test	2019-06-22 19:02:01.803975186 +0200
++++ b/tests/audio.test	2019-06-22 19:04:12.368034556 +0200
+@@ -13,38 +13,16 @@
+   set msg
+ } {bad option "junk": must be outputDevices, inputDevices, selectOutput, selectInput, formats, frequencies, active, play_gain, record_gain, elapsedTime, currentSound, playLatency, scaling, encodings, rates, play, stop, or pause}
+ 
+-test audio-1.2 {snack::audio outputDevices command} {
+-  set devs [snack::audio outputDevices]
+-  set res [expr [string length $devs] > 0]
+-  set res
+-} 1
+-
+-test audio-1.3 {snack::audio inputDevices command} {
+-  set devs [snack::audio inputDevices]
+-  set res [expr [string length $devs] > 0]
+-  set res
+-} 1
+-
+ test audio-1.4 {snack::audio selectOutput command} {
+   catch {snack::audio selectOutput junk} msg
+   set msg
+ } {No such device: junk}
+ 
+-test audio-1.5 {snack::audio selectOutput command} {
+-  set dev [lindex [snack::audio outputDevices] 0]
+-  catch {snack::audio selectOutput $dev}
+-} 0
+-
+ test audio-1.6 {snack::audio selectInput command} {
+   catch {snack::audio selectInput junk} msg
+   set msg
+ } {No such device: junk}
+ 
+-test audio-1.7 {snack::audio selectInput command} {
+-  set dev [lindex [snack::audio inputDevices] 0]
+-  catch {snack::audio selectInput $dev}
+-} 0
+-
+ # cleanup
+ ::tcltest::cleanupTests
+ return


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/files/
@ 2020-10-12 20:02 Alfredo Tupone
  0 siblings, 0 replies; 5+ messages in thread
From: Alfredo Tupone @ 2020-10-12 20:02 UTC (permalink / raw
  To: gentoo-commits

commit:     34450c4eb4b59a50fe996a5a41f9147d9b3ab863
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 12 20:01:34 2020 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Oct 12 20:01:34 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34450c4e

dev-tcltk/snack: remove further tests

Closes: https://bugs.gentoo.org/743844
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-tcltk/snack/files/snack-2.2.10-test.patch | 34 +++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

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 0c5ed836a59..0aa87c68436 100644
--- a/dev-tcltk/snack/files/snack-2.2.10-test.patch
+++ b/dev-tcltk/snack/files/snack-2.2.10-test.patch
@@ -76,3 +76,37 @@
  # cleanup
  ::tcltest::cleanupTests
  return
+--- a/tests/pitch.test	2020-10-12 21:45:27.248337664 +0200
++++ b/tests/pitch.test	2020-10-12 21:45:47.250988708 +0200
+@@ -22,14 +22,6 @@
+   set res
+ } {141.0 133.0 126.0}
+ 
+-test pitch-1.3 {pitch command} {
+-  set tcl_precision 5
+-  set s [snack::sound snd -load ex1.wav]
+-  set res [$s pitch -method ESPS]
+-  $s destroy
+-  set res
+-} {{0.0 0.0 0.0 0.7046} {0.0 0.0 773.7 0.65552} {0.0 0.0 818.08 0.24061} {0.0 0.0 813.13 0.56787} {0.0 0.0 808.39 0.51307} {0.0 0.0 826.01 0.49327} {0.0 0.0 856.56 0.9469} {0.0 0.0 851.72 0.0} {0.0 0.0 869.15 0.48861} {0.0 0.0 842.57 0.39768} {0.0 0.0 839.14 0.4009} {0.0 0.0 820.39 0.81465} {0.0 0.0 833.47 0.95806} {0.0 0.0 855.33 0.89539} {0.0 0.0 852.97 0.28335} {0.0 0.0 889.07 0.59169} {0.0 0.0 1070.5 0.68884} {0.0 0.0 878.41 0.5143} {0.0 0.0 892.74 0.3997} {0.0 0.0 873.53 0.68623} {0.0 0.0 965.13 0.57252} {0.0 0.0 882.69 0.49351} {0.0 0.0 1193.0 0.70511} {209.81 1.0 3304.3 0.88756} {162.78 1.0 3660.9 0.99115} {161.92 1.0 3512.7 0.99646} {158.92 1.0 3547.9 0.99354} {155.91 1.0 3468.7 0.98505} {149.48 1.0 3285.3 0.99364} {143.31 1.0 3008.2 0.98736} {133.77 1.0 2823.7 0.94805} {126.48 1.0 2640.8 0.98759} {119.94 1.0 2333.7 0.9852} {112.98 1.0 2040.5 0.95218} {109.81 1.0 2121.6 0.9571} {107.68 1.0 2418.1 0.92161} {106.6 1.0 2507.3 0.95998} {105.57 1.0 2478.0 0.95695} {105.43 1.0 26
 71.9 0.96458} {106.74 1.0 2706.6 0.98918} {109.0 1.0 2755.4 0.99448} {111.84 1.0 2717.5 0.97564} {115.73 1.0 2277.5 0.87201} {99.183 1.0 924.36 0.60726} {120.34 1.0 859.79 0.84981} {150.88 1.0 2136.3 0.93803} {136.25 1.0 2838.1 0.98336} {141.73 1.0 2877.0 0.99704} {145.06 1.0 2894.6 0.98906} {146.54 1.0 2749.1 0.98797} {149.82 1.0 2699.5 0.94096} {149.23 1.0 2838.4 0.98879} {146.53 1.0 2630.6 0.95378} {141.86 1.0 2181.0 0.97326} {133.37 1.0 1888.3 0.85003} {124.99 1.0 1660.0 0.94212} {117.97 1.0 1443.6 0.96375} {109.74 1.0 1091.7 0.96917} {103.63 1.0 915.75 0.92499} {111.49 1.0 853.13 0.69573} {107.37 1.0 786.42 0.86455} {93.37 1.0 815.44 0.81332} {123.3 1.0 804.05 0.61468} {84.033 1.0 762.98 0.74945} {121.1 1.0 725.91 0.5574} {114.08 1.0 700.22 0.82347} {101.78 1.0 704.95 0.57994} {103.43 1.0 695.87 0.75774} {101.42 1.0 699.81 0.79472} {105.86 1.0 714.47 0.70127} {0.0 0.0 745.7 0.828} {0.0 0.0 736.31 0.64289} {0.0 0.0 696.35 0.40449} {0.0 0.0 684.65 0.44551} {0.0 0.0 639.58 0.38997
 } {0.0 0.0 561.77 0.0} {0.0 0.0 627.65 0.34976} {0.0 
0.0 717.62 0.38937} {0.0 0.0 748.27 0.41932} {0.0 0.0 750.33 0.86962} {0.0 0.0 783.3 0.82826} {0.0 0.0 761.05 0.20038} {0.0 0.0 809.51 0.35076} {0.0 0.0 831.97 0.7714} {0.0 0.0 872.22 0.67117} {0.0 0.0 826.62 0.6413} {0.0 0.0 717.3 0.0} {0.0 0.0 723.3 0.54415} {0.0 0.0 751.75 0.33728} {0.0 0.0 818.03 0.31209} {0.0 0.0 837.29 0.4341} {0.0 0.0 849.53 0.3289} {0.0 0.0 862.33 0.28854} {0.0 0.0 845.65 0.68362} {0.0 0.0 868.25 0.74526}}
+-
+ test pitch-2.1 {pitch command, with missing argument for -start option} {
+   set s [snack::sound snd -load ex1.wav]
+   catch {$s pitch -start} msg
+--- a/tests/power.test	2020-10-12 21:45:55.843838864 +0200
++++ b/tests/power.test	2020-10-12 21:46:21.732387559 +0200
+@@ -8,14 +8,6 @@
+     namespace import ::tcltest::*
+ }
+ 
+-test power-1.1 {power command} {
+-  set s [snack::sound snd -load ex1.wav]
+-  set tcl_precision 5
+-  set res [$s power]
+-  $s destroy
+-  set res
+-} {57.668 58.916 57.992 58.647 58.463 58.415 58.353 58.948 58.897 59.02 58.761 58.745 58.248 58.595 59.158 58.846 58.467 61.37 59.153 59.315 58.301 60.035 59.451 58.963 71.281 71.387 71.13 71.213 71.01 70.635 69.845 68.822 68.986 68.525 67.103 66.664 67.365 67.627 66.72 67.337 67.657 68.365 68.854 68.204 58.26 58.141 66.927 69.789 69.122 69.601 69.076 68.909 69.337 68.621 67.11 65.266 64.678 64.223 61.751 60.287 59.447 57.811 58.444 58.209 57.645 57.279 56.377 56.572 56.467 56.796 57.045 57.735 57.858 57.081 56.943 56.421 54.929 56.202 57.349 57.643 57.477 58.207 57.706 58.385 58.601 59.228 58.694 57.176 57.423 57.733 58.599 58.614 58.771 59.005 58.651 59.077 59.001 58.113 58.374}
+-
+ test power-1.2 {power command} {
+   set s [snack::sound snd -load ex1.wav]
+   set tcl_precision 5


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/files/
@ 2020-10-14 17:10 Alfredo Tupone
  0 siblings, 0 replies; 5+ messages in thread
From: Alfredo Tupone @ 2020-10-14 17:10 UTC (permalink / raw
  To: gentoo-commits

commit:     cc5a6575aa0c2408fbe0793f3e19164e2ba02202
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 14 17:09:33 2020 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed Oct 14 17:10:06 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc5a6575

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 <AT> gentoo.org>

 dev-tcltk/snack/files/snack-2.2.10-test.patch | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

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 0aa87c68436..76c1ab17a9c 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


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/files/
@ 2023-03-17 22:01 Alfredo Tupone
  0 siblings, 0 replies; 5+ messages in thread
From: Alfredo Tupone @ 2023-03-17 22:01 UTC (permalink / raw
  To: gentoo-commits

commit:     a54a12a7c0c6ee40cf37eae712287712d7b58242
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 17 21:58:56 2023 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Fri Mar 17 22:01:22 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a54a12a7

dev-tcltk/snack: remove some test

Float samples comparison is too restrictive

Closes: https://bugs.gentoo.org/835486
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-tcltk/snack/files/snack-2.2.10-test.patch | 30 +++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

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 2ba3a0e82d99..ba8a91c8774d 100644
--- a/dev-tcltk/snack/files/snack-2.2.10-test.patch
+++ b/dev-tcltk/snack/files/snack-2.2.10-test.patch
@@ -117,3 +117,33 @@
  test dbpower-1.3 {dBPowerSpectrum command, -end and -skip options} {
    set s [snack::sound snd -load ex1.wav]
    set tcl_precision 5
+--- a/tests/filter.test	2023-03-17 22:53:35.463977748 +0100
++++ b/tests/filter.test	2023-03-17 22:55:40.931996456 +0100
+@@ -362,27 +362,6 @@
+   set res
+ } {16000 16000 10026 -6287 Lin16 1 RAW 0}
+ 
+-test filter-7.1 {iir filter, applied to sound} {
+-  set s [snack::sound snd -load ex1.wav]
+-  set f [snack::filter iir -numerator "0.99 -0.99" -denominator "1 -0.99"]
+-  $s filter $f -continuedrain 0
+-  set res [$s info]
+-  $f destroy
+-  $s destroy
+-  set res
+-} {15820 16000 13222 -9615 Lin16 1 WAV 44}
+-
+-test filter-7.2 {iir filter, applied to stereo sound} {
+-  set s [snack::sound snd -load ex1.wav]
+-  $s convert -channels 2
+-  set f [snack::filter iir -numerator "0.99 -0.99" -denominator "1 -0.99"]
+-  $s filter $f -continuedrain 0
+-  set res [$s info]
+-  $f destroy
+-  $s destroy
+-  set res
+-} {15820 16000 13222 -9616 Lin16 2 WAV 44}
+-
+ test filter-8.1 {fade filter, applied to sound} {
+   set s [snack::sound snd -rate 4000]
+   $s length 4


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-03-17 22:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-22 17:10 [gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/files/ Alfredo Tupone
  -- strict thread matches above, loose matches on Subject: below --
2023-03-17 22:01 Alfredo Tupone
2020-10-14 17:10 Alfredo Tupone
2020-10-12 20:02 Alfredo Tupone
2019-05-15  8:41 Alfredo Tupone

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox