diff options
| author | Jack Nagel | 2013-09-14 11:51:36 -0500 | 
|---|---|---|
| committer | Jack Nagel | 2013-09-14 11:53:32 -0500 | 
| commit | 456d8eb2ecc73660f1949b838d8bc62279333b32 (patch) | |
| tree | 4546951867520a86e7509eca408cffef63104dde /Library/Homebrew/test | |
| parent | 11c4e241248a3ff9e4ed3dd534a06a406da8dccc (diff) | |
| download | homebrew-456d8eb2ecc73660f1949b838d8bc62279333b32.tar.bz2 | |
Tear down the cache after installation tests
Diffstat (limited to 'Library/Homebrew/test')
| -rw-r--r-- | Library/Homebrew/test/test_formula_install.rb | 8 | 
1 files changed, 8 insertions, 0 deletions
diff --git a/Library/Homebrew/test/test_formula_install.rb b/Library/Homebrew/test/test_formula_install.rb index ea1584ec6..967f2e6cc 100644 --- a/Library/Homebrew/test/test_formula_install.rb +++ b/Library/Homebrew/test/test_formula_install.rb @@ -17,6 +17,10 @@ end  class ConfigureTests < Test::Unit::TestCase +  def teardown +    HOMEBREW_CACHE.rmtree +  end +    def test_detect_failed_configure      f = ConfigureFails.new      shutup { f.brew { f.install } } @@ -27,6 +31,10 @@ end  class InstallTests < Test::Unit::TestCase +  def teardown +    HOMEBREW_CACHE.rmtree +  end +    def temporary_install f      # Brew and install the given formula      shutup do  | 
