From 7fd7ea43edf1a56d4a1997fd6876cbc0cdfcc6ab Mon Sep 17 00:00:00 2001 From: Xu Cheng Date: Wed, 31 Dec 2014 15:28:49 +0800 Subject: optipng: add test Closes #35385. Signed-off-by: Mike McQuaid --- Library/Formula/optipng.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Library/Formula') diff --git a/Library/Formula/optipng.rb b/Library/Formula/optipng.rb index d60364e3e..5ffd6edd4 100644 --- a/Library/Formula/optipng.rb +++ b/Library/Formula/optipng.rb @@ -14,6 +14,10 @@ class Optipng < Formula "--mandir=#{man}" system "make", "install" end + + test do + system "#{bin}/optipng", "-simulate", test_fixtures("test.png") + end end __END__ -- cgit v1.2.3