diff options
| author | Mike McQuaid | 2012-09-02 00:50:20 -0700 |
|---|---|---|
| committer | Mike McQuaid | 2012-09-02 00:50:20 -0700 |
| commit | 9e29c963ecf6329b54e910a7ce13deca0050acf8 (patch) | |
| tree | f255335acaa6c757eae11331152e6b4acc1d52e2 /Library/Formula | |
| parent | 82a1481f6fa824816bbf2bdeb53fd1933a1a15f2 (diff) | |
| download | homebrew-9e29c963ecf6329b54e910a7ce13deca0050acf8.tar.bz2 | |
audiofile: make test non-interactive.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/audiofile.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Library/Formula/audiofile.rb b/Library/Formula/audiofile.rb index a89d4de90..8567d98b3 100644 --- a/Library/Formula/audiofile.rb +++ b/Library/Formula/audiofile.rb @@ -22,19 +22,16 @@ class Audiofile < Formula def test inn = '/System/Library/Sounds/Glass.aiff' out = 'Glass.wav' - hear_bin = '/usr/bin/qlmanage' conv_bin = "#{bin}/sfconvert" info_bin = "#{bin}/sfinfo" - unless File.exist?(conv_bin) and File.exist?(inn) and - File.exist?(hear_bin) and File.exist?(info_bin) + unless File.exist?(conv_bin) and File.exist?(inn) and File.exist?(info_bin) opoo <<-EOS.undent One of the following files could not be located, and so the test was not executed: #{inn} #{conv_bin} #{info_bin} - #{hear_bin} Audiofile can also be tested at build-time: brew install -v audiofile --with-check @@ -45,7 +42,6 @@ class Audiofile < Formula mktemp do system conv_bin, inn, out, 'format', 'wave' system info_bin, '--short', '--reporterror', out - system hear_bin, '-p', out if ARGV.verbose? end end end |
