https://github.com/JuliaLang/julia
Raw File
Tip revision: 9d4014918fc3bf2942d767c1f267990cd7f108ef authored by Keno Fischer on 30 July 2013, 21:13:06 UTC
Add redirection functions to base for #3823
Tip revision: 9d40149
testdefs.jl
using Base.Test

function runtests(name)
    println("     \033[1m*\033[0m \033[31m$(name)\033[0m")
    Core.include("$name.jl")
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