jbigkit: use test DSL
This commit is contained in:
parent
22bf7302ca
commit
4fe2c7372d
1 changed files with 3 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue