From 80795de4f46f01f167acbf1bb1add88a011386dc Mon Sep 17 00:00:00 2001 From: Baptiste Fontaine Date: Mon, 23 Feb 2015 15:07:21 +0100 Subject: afflib: basic test added Closes #37109. Signed-off-by: Mike McQuaid --- Library/Formula/afflib.rb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/afflib.rb b/Library/Formula/afflib.rb index b690163e5..fdd9b0094 100644 --- a/Library/Formula/afflib.rb +++ b/Library/Formula/afflib.rb @@ -1,5 +1,3 @@ -require "formula" - class Afflib < Formula homepage "https://github.com/sshock/AFFLIBv3" url "https://github.com/sshock/AFFLIBv3/archive/v3.7.6.tar.gz" @@ -33,7 +31,11 @@ class Afflib < Formula end system "./configure", *args - system "make install" + system "make", "install" + end + + test do + system "#{bin}/affcat", "-v" end end -- cgit v1.2.3