autopano-sift-c: improve test
This commit is contained in:
parent
f594a81d22
commit
476b68c46c
1 changed files with 3 additions and 2 deletions
|
@ -13,7 +13,8 @@ class AutopanoSiftC < Formula
|
|||
system "make install"
|
||||
end
|
||||
|
||||
def test
|
||||
system "#{bin}/autopano-sift-c | grep 'Version #{version} for hugin 0.7'"
|
||||
test do
|
||||
pipe = IO.popen("#{bin}/autopano-sift-c")
|
||||
/Version #{Regexp.escape(version)}/ === pipe.read
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue