integration tests: testball install overridable
This commit is contained in:
parent
563b56701b
commit
08c898f280
@ -127,7 +127,6 @@ class IntegrationCommandTestCase < Homebrew::TestCase
|
|||||||
sha256 "#{TESTBALL_SHA256}"
|
sha256 "#{TESTBALL_SHA256}"
|
||||||
|
|
||||||
option "with-foo", "Build with foo"
|
option "with-foo", "Build with foo"
|
||||||
#{content}
|
|
||||||
|
|
||||||
def install
|
def install
|
||||||
(prefix/"foo"/"test").write("test") if build.with? "foo"
|
(prefix/"foo"/"test").write("test") if build.with? "foo"
|
||||||
@ -138,6 +137,8 @@ class IntegrationCommandTestCase < Homebrew::TestCase
|
|||||||
system ENV.cc, "test.c", "-o", bin/"test"
|
system ENV.cc, "test.c", "-o", bin/"test"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
#{content}
|
||||||
|
|
||||||
# something here
|
# something here
|
||||||
EOS
|
EOS
|
||||||
when "foo"
|
when "foo"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user