From 6714afee1d7d2b1d54d336905fcafdec5b53ca90 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Mon, 28 Jul 2014 19:31:14 +0200 Subject: webp: use test fixture image. --- Library/Formula/webp.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/webp.rb b/Library/Formula/webp.rb index cc5282f08..be67650cf 100644 --- a/Library/Formula/webp.rb +++ b/Library/Formula/webp.rb @@ -33,8 +33,8 @@ class Webp < Formula end test do - system "#{bin}/cwebp", \ - "/usr/share/doc/cups/images/cups.png", "-o", "webp_test.png" + test_png = HOMEBREW_LIBRARY/"Homebrew/test/fixtures/test.png" + system "#{bin}/cwebp", test_png, "-o", "webp_test.png" system "#{bin}/dwebp", "webp_test.png", "-o", "webp_test.webp" end end -- cgit v1.2.3