Remove open3 from Csound test (#48379)
This commit is contained in:
parent
32d11f3617
commit
6fcb18732b
1 changed files with 4 additions and 7 deletions
|
@ -109,13 +109,10 @@ class Csound < Formula
|
||||||
ENV["OPCODE6DIR64"] = frameworks/"CsoundLib64.framework/Resources/Opcodes64"
|
ENV["OPCODE6DIR64"] = frameworks/"CsoundLib64.framework/Resources/Opcodes64"
|
||||||
ENV["RAWWAVE_PATH"] = Formula["stk"].pkgshare/"rawwaves"
|
ENV["RAWWAVE_PATH"] = Formula["stk"].pkgshare/"rawwaves"
|
||||||
|
|
||||||
require "open3"
|
output = shell_output "#{bin}/csound test.orc test.sco 2>&1"
|
||||||
stdout, stderr, status = Open3.capture3("#{bin}/csound test.orc test.sco")
|
assert_match /^hello, world\n/, output
|
||||||
|
assert_match /^rtaudio:/, output
|
||||||
assert status.success?
|
assert_match /^rtmidi:/, output
|
||||||
assert_equal "hello, world\n", stdout
|
|
||||||
assert_match /^rtaudio:/, stderr
|
|
||||||
assert_match /^rtmidi:/, stderr
|
|
||||||
|
|
||||||
assert_predicate testpath/"test.aif", :exist?
|
assert_predicate testpath/"test.aif", :exist?
|
||||||
assert_predicate testpath/"test.h5", :exist?
|
assert_predicate testpath/"test.h5", :exist?
|
||||||
|
|
Loading…
Reference in a new issue