mirror of
https://github.com/JuliaFEM/JuliaFEM.jl.git
synced 2026-09-19 17:58:53 +00:00
fixing paths
This commit is contained in:
+4
-2
@@ -74,9 +74,11 @@ facts("Looking the [src,test] folders *.jl files header information") do
|
||||
@fact files_no_license => isempty out_str
|
||||
end
|
||||
|
||||
# FIXME: $PACKAGE_ROOT/test
|
||||
test_files = readdir(".")
|
||||
test_files = readdir(Pkg.dir("JuliaFEM")*"/test")
|
||||
#println("test files: $test_files")
|
||||
for test_file in test_files
|
||||
println("checking is $test_file is real test file")
|
||||
#if contains("test_", test_file)
|
||||
if beginswith(test_file, "test_")
|
||||
Logging.info("Running tests from file $test_file")
|
||||
include(test_file)
|
||||
|
||||
@@ -8,7 +8,8 @@ using Logging
|
||||
using JuliaFEM.abaqus_reader: parse_abaqus, parse_element_section
|
||||
|
||||
facts("test import abaqus model") do
|
||||
fid = open("../geometry/3d_beam/palkki.inp")
|
||||
# FIXME: get_test_data()
|
||||
fid = open(Pkg.dir("JuliaFEM")*"/geometry/3d_beam/palkki.inp")
|
||||
model = parse_abaqus(fid)
|
||||
close(fid)
|
||||
@fact length(model["nodes"]) => 298
|
||||
|
||||
Reference in New Issue
Block a user