makedepend: add test
Closes Homebrew/homebrew#35502. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
d37e605c06
commit
f9a87791cd
1 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue