makedepend: add test

Closes Homebrew/homebrew#35502.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Xu Cheng 2015-01-03 17:22:46 +08:00 committed by Mike McQuaid
parent d37e605c06
commit f9a87791cd

View file

@ -1,5 +1,3 @@
require "formula"
class Makedepend < Formula
homepage "http://x.org"
url "http://xorg.freedesktop.org/releases/individual/util/makedepend-1.0.5.tar.bz2"
@ -46,4 +44,9 @@ class Makedepend < Formula
"--prefix=#{prefix}"
system "make", "install"
end
test do
touch "Makefile"
system "#{bin}/makedepend"
end
end