alure: add test
This commit is contained in:
parent
3f0fa617bd
commit
29aab01417
1 changed files with 6 additions and 2 deletions
|
@ -24,10 +24,10 @@ class Alure < Formula
|
|||
def install
|
||||
# fix a broken include flags line, which fixes a build error.
|
||||
# Not reported upstream.
|
||||
# https://github.com/Homebrew/homebrew/pull/6368
|
||||
# https://github.com/Homebrew/legacy-homebrew/pull/6368
|
||||
if build.with? "libvorbis"
|
||||
inreplace "CMakeLists.txt", "${VORBISFILE_CFLAGS}",
|
||||
`pkg-config --cflags vorbisfile`.chomp
|
||||
Utils.popen_read("pkg-config --cflags vorbisfile").chomp
|
||||
end
|
||||
|
||||
cd "build" do
|
||||
|
@ -35,4 +35,8 @@ class Alure < Formula
|
|||
system "make", "install"
|
||||
end
|
||||
end
|
||||
|
||||
test do
|
||||
system bin/"alureplay", test_fixtures("test.wav")
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue