mirror of
https://github.com/JuliaFEM/JuliaFEM.jl.git
synced 2026-09-07 19:56:23 +00:00
24 lines
508 B
Julia
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)
|