diff options
| author | Xu Cheng | 2014-12-31 15:28:49 +0800 |
|---|---|---|
| committer | Mike McQuaid | 2014-12-31 14:52:18 +0000 |
| commit | 7fd7ea43edf1a56d4a1997fd6876cbc0cdfcc6ab (patch) | |
| tree | c2f31dfa0fa75f3650c36be063f5fcbf57d8cd00 /Library/Formula | |
| parent | bc581c73ec8a6af9d7a1994c2b83cbe227730615 (diff) | |
| download | homebrew-7fd7ea43edf1a56d4a1997fd6876cbc0cdfcc6ab.tar.bz2 | |
optipng: add test
Closes #35385.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/optipng.rb | 4 |
1 files changed, 4 insertions, 0 deletions
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__ |
