diff options
| author | Jack Nagel | 2013-04-01 12:56:56 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-04-02 13:19:04 -0500 |
| commit | 2f49fd07b14875e7fad02ee8b8ac93af87ff7f72 (patch) | |
| tree | 02034d92d10a7d9933c8e557a184372926a1b2f2 /Library/Homebrew/test/testball.rb | |
| parent | c679e557ba735b932eee7c37facf6ec147c265d0 (diff) | |
| download | brew-2f49fd07b14875e7fad02ee8b8ac93af87ff7f72.tar.bz2 | |
Isolate compiler selector tests
Diffstat (limited to 'Library/Homebrew/test/testball.rb')
| -rw-r--r-- | Library/Homebrew/test/testball.rb | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/Library/Homebrew/test/testball.rb b/Library/Homebrew/test/testball.rb index f685f5e2c..32f307f10 100644 --- a/Library/Homebrew/test/testball.rb +++ b/Library/Homebrew/test/testball.rb @@ -45,53 +45,6 @@ class ConfigureFails < Formula end end -class TestCompilerFailures < Formula - def initialize name=nil - @stable = SoftwareSpec.new "file:///#{TEST_FOLDER}/tarballs/testball-0.1.tbz" - super "compilerfailures" - end -end - -class TestAllCompilerFailures < TestCompilerFailures - fails_with :clang - fails_with :llvm - fails_with :gcc -end - -class TestNoCompilerFailures < TestCompilerFailures - fails_with(:clang) { build 42 } - fails_with(:llvm) { build 42 } - fails_with(:gcc) { build 42 } -end - -class TestLLVMFailure < TestCompilerFailures - fails_with :llvm -end - -class TestMixedCompilerFailures < TestCompilerFailures - fails_with(:clang) { build MacOS.clang_build_version } - fails_with(:llvm) { build 42 } - fails_with(:gcc) { build 5666 } -end - -class TestMoreMixedCompilerFailures < TestCompilerFailures - fails_with(:clang) { build 42 } - fails_with(:llvm) { build 2336 } - fails_with(:gcc) { build 5666 } -end - -class TestEvenMoreMixedCompilerFailures < TestCompilerFailures - fails_with :clang - fails_with(:llvm) { build 2336 } - fails_with(:gcc) { build 5648 } -end - -class TestBlockWithoutBuildCompilerFailure < TestCompilerFailures - fails_with :clang do - cause "failure" - end -end - class SpecTestBall < Formula homepage 'http://example.com' url 'file:///foo.com/testball-0.1.tbz' |
