diff options
Diffstat (limited to 'Library/Homebrew/test/testball.rb')
| -rw-r--r-- | Library/Homebrew/test/testball.rb | 15 |
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 |
