aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/testball.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2010-04-03 08:44:41 -0700
committerAdam Vandenberg2010-06-10 12:57:51 -0700
commit1761ba66bfca0784d49de10bd684cc54d53fded8 (patch)
treecd8ce5cb705d7e53a504262cc1914bb532d98be5 /Library/Homebrew/test/testball.rb
parent914a068dc8cc9f84188a4a8b194336c632744058 (diff)
downloadbrew-1761ba66bfca0784d49de10bd684cc54d53fded8.tar.bz2
Failures during ./configure should mention config.log.
Diffstat (limited to 'Library/Homebrew/test/testball.rb')
-rw-r--r--Library/Homebrew/test/testball.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/Library/Homebrew/test/testball.rb b/Library/Homebrew/test/testball.rb
index 6393342e5..58af9d2b7 100644
--- a/Library/Homebrew/test/testball.rb
+++ b/Library/Homebrew/test/testball.rb
@@ -12,3 +12,18 @@ class TestBall <Formula
prefix.install "libexec"
end
end
+
+class ConfigureFails <Formula
+ # name parameter required for some Formula::factory
+ def initialize name=nil
+ @url="file:///#{TEST_FOLDER}/configure_fails.tar.gz"
+ @homepage = 'http://example.com/'
+ @version = '1.0.0'
+ @md5 = '9385e1b68ab8af68ac2c35423443159b'
+ super "configurefails"
+ end
+
+ def install
+ system "./configure"
+ end
+end