diff options
| author | Jack Nagel | 2013-09-14 11:51:36 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-09-14 11:53:32 -0500 |
| commit | cecf9a564fca731fc3293d99bead86c8c280541d (patch) | |
| tree | ce00e977f0634bab438ed47f32ed38f393c130ff /Library/Homebrew/test/test_formula_install.rb | |
| parent | a31fcb554c1c1ca247bf10073a8c2425afe19a82 (diff) | |
| download | brew-cecf9a564fca731fc3293d99bead86c8c280541d.tar.bz2 | |
Tear down the cache after installation tests
Diffstat (limited to 'Library/Homebrew/test/test_formula_install.rb')
| -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 |
