Allow fails_with_llvm {}
And fix node and ruby to use LLVM without complaint with Xcode 4.1 and Lion.
This commit is contained in:
parent
00cd7a3a9b
commit
a27eda9df2
@ -76,7 +76,12 @@ class FailsWithLLVM
|
||||
attr_reader :msg, :data, :build
|
||||
|
||||
def initialize msg=nil, data=nil
|
||||
@msg = msg || "(No specific reason was given)"
|
||||
if msg.nil? or msg.kind_of? Hash
|
||||
@msg = "(No specific reason was given)"
|
||||
data = msg
|
||||
else
|
||||
@msg = msg
|
||||
end
|
||||
@data = data
|
||||
@build = data.delete :build rescue nil
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user