mirror of
https://github.com/JuliaFEM/JuliaFEM.jl.git
synced 2026-09-28 20:46:58 +00:00
initial commit
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
# 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)
|
||||
Reference in New Issue
Block a user