gnu-getopt: add test
Closes Homebrew/homebrew#35309. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
0cbe08f429
commit
3ffcec85a5
1 changed files with 4 additions and 0 deletions
|
@ -22,4 +22,8 @@ class GnuGetopt < Formula
|
|||
end
|
||||
system "make", "prefix=#{prefix}", "mandir=#{man}", "install"
|
||||
end
|
||||
|
||||
test do
|
||||
system "#{bin}/getopt", "-o", "--test"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue