Delete pointless test
This commit is contained in:
parent
8cf0f34aa7
commit
a79b7d6e0f
@ -4,13 +4,6 @@ require 'hardware'
|
|||||||
class EnvironmentTests < Test::Unit::TestCase
|
class EnvironmentTests < Test::Unit::TestCase
|
||||||
def test_ENV_options
|
def test_ENV_options
|
||||||
ENV.gcc_4_0
|
ENV.gcc_4_0
|
||||||
begin
|
|
||||||
ENV.gcc_4_2
|
|
||||||
rescue RuntimeError => e
|
|
||||||
if `sw_vers -productVersion` =~ /10\.(\d+)/ and $1.to_i < 7
|
|
||||||
raise e
|
|
||||||
end
|
|
||||||
end
|
|
||||||
ENV.O3
|
ENV.O3
|
||||||
ENV.minimal_optimization
|
ENV.minimal_optimization
|
||||||
ENV.no_optimization
|
ENV.no_optimization
|
||||||
|
|||||||
@ -24,18 +24,6 @@ end
|
|||||||
class BeerTasting < Test::Unit::TestCase
|
class BeerTasting < Test::Unit::TestCase
|
||||||
include VersionAssertions
|
include VersionAssertions
|
||||||
|
|
||||||
def test_supported_compressed_types
|
|
||||||
assert_nothing_raised do
|
|
||||||
MockFormula.new 'test-0.1.tar.gz'
|
|
||||||
MockFormula.new 'test-0.1.tar.bz2'
|
|
||||||
MockFormula.new 'test-0.1.tar.xz'
|
|
||||||
MockFormula.new 'test-0.1.tgz'
|
|
||||||
MockFormula.new 'test-0.1.bgz'
|
|
||||||
MockFormula.new 'test-0.1.txz'
|
|
||||||
MockFormula.new 'test-0.1.zip'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
FOOBAR='foo-bar'
|
FOOBAR='foo-bar'
|
||||||
def test_formula_funcs
|
def test_formula_funcs
|
||||||
classname=Formula.class_s(FOOBAR)
|
classname=Formula.class_s(FOOBAR)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user