fixing paths

This commit is contained in:
Jukka Aho
2015-06-27 19:53:49 +03:00
parent 784bd66a23
commit 85f1f6a689
2 changed files with 6 additions and 3 deletions
+4 -2
View File
@@ -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)
+2 -1
View 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