aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAlyssa Ross2016-09-27 22:01:22 +0100
committerAlyssa Ross2016-10-25 22:34:34 +0100
commit08c898f28075d04c0e9921d72d9d3791f0dbef8e (patch)
tree9f5a0e6b2524287f387baa2f606d6da2900a9d8d /Library
parent563b56701bce58b87d748283633967a81e833f64 (diff)
downloadbrew-08c898f28075d04c0e9921d72d9d3791f0dbef8e.tar.bz2
integration tests: testball install overridable
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/test/helper/integration_command_test_case.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/test/helper/integration_command_test_case.rb b/Library/Homebrew/test/helper/integration_command_test_case.rb
index 20c0fc48e..d18e4e0de 100644
--- a/Library/Homebrew/test/helper/integration_command_test_case.rb
+++ b/Library/Homebrew/test/helper/integration_command_test_case.rb
@@ -127,7 +127,6 @@ class IntegrationCommandTestCase < Homebrew::TestCase
sha256 "#{TESTBALL_SHA256}"
option "with-foo", "Build with foo"
- #{content}
def install
(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"
end
+ #{content}
+
# something here
EOS
when "foo"