https://github.com/JuliaLang/julia
Raw File
Tip revision: faf9fe75223dfef2f86958c1ced84be369f4738e authored by Tony Kelman on 17 September 2016, 16:31:22 UTC
Attempt to fix osx travis (#18563)
Tip revision: faf9fe7
testdefs.jl
using Base.Test

function runtests(name)
    println("     \033[1m*\033[0m \033[31m$(name)\033[0m")
    Core.include("$name.jl")
    nothing
end

function propagate_errors(a,b)
    if isa(a,Exception)
        rethrow(a)
    end
    if isa(b,Exception)
        rethrow(b)
    end
    nothing
end

# looking in . messes things up badly
filter!(x->x!=".", LOAD_PATH)
back to top