From: "Alfredo Tupone" <tupone@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/files/
Date: Sat, 22 Jun 2019 17:10:42 +0000 (UTC) [thread overview]
Message-ID: <1561223415.922269677f62ec575ba740404c46e29edf7c6694.tupone@gentoo> (raw)
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
next reply other threads:[~2019-06-22 17:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-22 17:10 Alfredo Tupone [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-03-17 22:01 [gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/files/ Alfredo Tupone
2020-10-14 17:10 Alfredo Tupone
2020-10-12 20:02 Alfredo Tupone
2019-05-15 8:41 Alfredo Tupone
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1561223415.922269677f62ec575ba740404c46e29edf7c6694.tupone@gentoo \
--to=tupone@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox