swh:1:snp:a72e953ecd624a7df6e6196bbdd05851996c5e40
Raw File
Tip revision: b24213b893ace6ca601722f6cdaac15f2b034b7b authored by Elliot Saba on 23 November 2014, 20:19:28 UTC
Tag v0.3.3
Tip revision: b24213b
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