mirror of
https://github.com/JuliaFEM/JuliaFEM.jl.git
synced 2026-09-20 01:59:59 +00:00
all tests pass now
This commit is contained in:
+6
-1
@@ -3,13 +3,18 @@
|
||||
|
||||
using JuliaFEM.Test
|
||||
|
||||
function run_tests(; quiet=false)
|
||||
function run_tests(; verbose=true)
|
||||
|
||||
maybe_test_files = readdir(Pkg.dir("JuliaFEM")*"/test")
|
||||
is_test_file(fn) = startswith(fn, "test_") & endswith(fn, ".jl")
|
||||
test_files = filter(is_test_file, maybe_test_files)
|
||||
#test_files = ["test_nodal_constraints.jl"]
|
||||
|
||||
verbose && info("Test files:")
|
||||
for (i, test_file) in enumerate(test_files)
|
||||
verbose && info("$i $test_file")
|
||||
end
|
||||
|
||||
body = quote
|
||||
@testset "JuliaFEM" begin
|
||||
for fn in $test_files
|
||||
|
||||
Reference in New Issue
Block a user