aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMike McQuaid2013-07-12 15:44:53 +0100
committerMike McQuaid2013-07-12 15:44:53 +0100
commit87af5c6564696e89517e8218e7cabcbb5ed1a9b9 (patch)
tree1410949569d98388d67c2f5cf4bc7a5d0bd2fac1 /Library/Formula
parentca49dd13398af6904eb678491913f1913a6c861f (diff)
downloadhomebrew-87af5c6564696e89517e8218e7cabcbb5ed1a9b9.tar.bz2
Fix failing 10.6 image-related tests.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/gd.rb4
-rw-r--r--Library/Formula/graphicsmagick.rb3
-rw-r--r--Library/Formula/imagemagick.rb2
-rw-r--r--Library/Formula/imlib2.rb4
-rw-r--r--Library/Formula/swftools.rb3
-rw-r--r--Library/Formula/webp.rb3
6 files changed, 6 insertions, 13 deletions
diff --git a/Library/Formula/gd.rb b/Library/Formula/gd.rb
index c432e96e6..ac6eedad5 100644
--- a/Library/Formula/gd.rb
+++ b/Library/Formula/gd.rb
@@ -50,9 +50,7 @@ class Gd < Formula
end
test do
- system "#{bin}/pngtogd", \
- "/System/Library/Frameworks/SecurityInterface.framework/Versions/A/Resources/Key_Large.png", \
- "gd_test.gd"
+ system "#{bin}/pngtogd", "/usr/share/doc/cups/images/cups.png", "gd_test.gd"
system "#{bin}/gdtopng", "gd_test.gd", "gd_test.png"
end
end
diff --git a/Library/Formula/graphicsmagick.rb b/Library/Formula/graphicsmagick.rb
index c53388003..6af3fcfbb 100644
--- a/Library/Formula/graphicsmagick.rb
+++ b/Library/Formula/graphicsmagick.rb
@@ -71,7 +71,6 @@ class Graphicsmagick < Formula
end
def test
- system "#{bin}/gm", "identify", \
- "/System/Library/Frameworks/SecurityInterface.framework/Versions/A/Resources/Key_Large.png"
+ system "#{bin}/gm", "identify", "/usr/share/doc/cups/images/cups.png"
end
end
diff --git a/Library/Formula/imagemagick.rb b/Library/Formula/imagemagick.rb
index 748f0ef0f..157d8625a 100644
--- a/Library/Formula/imagemagick.rb
+++ b/Library/Formula/imagemagick.rb
@@ -95,6 +95,6 @@ class Imagemagick < Formula
end
test do
- system "#{bin}/identify", "/usr/share/doc/cups/images/smiley.jpg"
+ system "#{bin}/identify", "/usr/share/doc/cups/images/cups.png"
end
end
diff --git a/Library/Formula/imlib2.rb b/Library/Formula/imlib2.rb
index a3ecdfc21..8eda870cb 100644
--- a/Library/Formula/imlib2.rb
+++ b/Library/Formula/imlib2.rb
@@ -26,8 +26,6 @@ class Imlib2 < Formula
end
test do
- system "#{bin}/imlib2_conv", \
- "/System/Library/Frameworks/SecurityInterface.framework/Versions/A/Resources/Key_Large.png", \
- "imlib2_test.jpg"
+ system "#{bin}/imlib2_conv", "/usr/share/doc/cups/images/cups.png", "imlib2_test.png"
end
end
diff --git a/Library/Formula/swftools.rb b/Library/Formula/swftools.rb
index 47c9f3884..bcd61ef20 100644
--- a/Library/Formula/swftools.rb
+++ b/Library/Formula/swftools.rb
@@ -34,8 +34,7 @@ class Swftools < Formula
end
test do
- system "#{bin}/png2swf", "swftools_test.swf", \
- "/System/Library/Frameworks/SecurityInterface.framework/Versions/A/Resources/Key_Large.png"
+ system "#{bin}/png2swf", "swftools_test.swf", "/usr/share/doc/cups/images/cups.png"
end
end
diff --git a/Library/Formula/webp.rb b/Library/Formula/webp.rb
index c0653991d..161ba014e 100644
--- a/Library/Formula/webp.rb
+++ b/Library/Formula/webp.rb
@@ -19,8 +19,7 @@ class Webp < Formula
test do
system "#{bin}/cwebp", \
- "/System/Library/Frameworks/SecurityInterface.framework/Versions/A/Resources/Key_Large.png", \
- "-o", "webp_test.png"
+ "/usr/share/doc/cups/images/cups.png", "-o", "webp_test.png"
system "#{bin}/dwebp", "webp_test.png", "-o", "webp_test.webp"
end
end