test-bot: don't run readall on <=10.8.
The Ruby 1.8 implementation seems to be really flaky, unfortunately.
This commit is contained in:
parent
dcf6be10f8
commit
2d1c8b4de4
@ -22,7 +22,7 @@ module Homebrew
|
|||||||
while rb = ruby_files.pop(true)
|
while rb = ruby_files.pop(true)
|
||||||
nostdout { failed = true unless system "ruby", "-c", "-w", rb }
|
nostdout { failed = true unless system "ruby", "-c", "-w", rb }
|
||||||
end
|
end
|
||||||
rescue ThreadError, IOError # ignore empty queue error
|
rescue ThreadError # ignore empty queue error
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@ -505,7 +505,9 @@ module Homebrew
|
|||||||
def homebrew
|
def homebrew
|
||||||
@category = __method__
|
@category = __method__
|
||||||
test "brew", "tests"
|
test "brew", "tests"
|
||||||
test "brew", "readall", "--syntax"
|
readall_args = []
|
||||||
|
readall_args << "--syntax" if MacOS.version >= :mavericks
|
||||||
|
test "brew", "readall", *readall_args
|
||||||
end
|
end
|
||||||
|
|
||||||
def cleanup_before
|
def cleanup_before
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user