From 4b4e97b496ef22f4dc2a0f213bcf23436716e7c8 Mon Sep 17 00:00:00 2001 From: Xu Cheng Date: Wed, 31 Dec 2014 16:09:36 +0800 Subject: little-cms2: add test Closes #35387. Signed-off-by: Mike McQuaid --- Library/Formula/little-cms2.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Library') diff --git a/Library/Formula/little-cms2.rb b/Library/Formula/little-cms2.rb index c52dbba39..a6dcd4cac 100644 --- a/Library/Formula/little-cms2.rb +++ b/Library/Formula/little-cms2.rb @@ -26,4 +26,9 @@ class LittleCms2 < Formula system "./configure", *args system "make", "install" end + + test do + system "#{bin}/jpgicc", test_fixtures("test.jpg"), "out.jpg" + assert File.exist?("out.jpg") + end end -- cgit v1.2.3