libuv: --with-test added

This commit is contained in:
Baptiste Fontaine 2015-12-08 11:34:27 +01:00
parent be6df9862f
commit 8424e66b42

View file

@ -13,9 +13,11 @@ class Libuv < Formula
end
option "without-docs", "Don't build and install documentation"
option "with-check", "Execute compile time checks (Requires Internet connection)"
option "with-test", "Execute compile time checks (Requires Internet connection)"
option :universal
deprecated_option "with-check" => "with-test"
depends_on "pkg-config" => :build
depends_on "automake" => :build
depends_on "autoconf" => :build
@ -40,7 +42,7 @@ class Libuv < Formula
"--disable-silent-rules",
"--prefix=#{prefix}"
system "make"
system "make", "check" if build.with? "check"
system "make", "check" if build.with? "test"
system "make", "install"
end