https://github.com/JuliaLang/julia
Raw File
Tip revision: 768d1ba6bb6b39a0228902bcae9c824e2aee602e authored by Yichao Yu on 27 August 2015, 13:54:19 UTC
Disable GC_VERIFY to check if the oom is gone
Tip revision: 768d1ba
testdefs.jl
# This file is a part of Julia. License is MIT: http://julialang.org/license

using Base.Test

function runtests(name)
    @printf("     \033[1m*\033[0m \033[31m%-21s\033[0m", name)
    tt = @elapsed include("$name.jl")
    @printf(" in %6.2f seconds\n", tt)
    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