jbigkit: use test DSL

This commit is contained in:
Jack Nagel 2013-02-01 23:12:41 -06:00
parent 22bf7302ca
commit 4fe2c7372d

View file

@ -32,10 +32,8 @@ class Jbigkit < Formula
end
end
def test
mktemp do
system "#{bin}/jbgtopbm #{prefix}/examples/ccitt7.jbg | #{bin}/pbmtojbg - testoutput.jbg"
system "/usr/bin/cmp", "#{prefix}/examples/ccitt7.jbg", "testoutput.jbg"
end
test do
system "#{bin}/jbgtopbm #{prefix}/examples/ccitt7.jbg | #{bin}/pbmtojbg - testoutput.jbg"
system "/usr/bin/cmp", "#{prefix}/examples/ccitt7.jbg", "testoutput.jbg"
end
end