cc65: add test
Closes Homebrew/homebrew#26503. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
5683859745
commit
a5b940cec9
1 changed files with 7 additions and 0 deletions
|
@ -20,4 +20,11 @@ class Cc65 < Formula
|
|||
#{share}/cc65
|
||||
EOS
|
||||
end
|
||||
|
||||
test do
|
||||
(testpath/"foo.c").write "int main (void) { return 0; }"
|
||||
|
||||
system bin/"cl65", "foo.c" # compile and link
|
||||
assert File.exist?("foo") # binary
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue