Files
JuliaFEM.jl/test/testdefs.jl
T
Tero Frondelius e64800acbe initial commit
2015-05-20 20:34:37 +03:00

24 lines
508 B
Julia

# 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%-20s\033[0m", name)
tt = @elapsed Core.include(abspath("$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)