Skip to content

Commit

Permalink
FEM: unit tests, make all FEM unit test in one directory in tmp direc…
Browse files Browse the repository at this point in the history
…tory
  • Loading branch information
berndhahnebach committed Jan 22, 2017
1 parent 227beac commit 94ddfdb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Mod/Fem/TestFem.py
Expand Up @@ -37,7 +37,7 @@
mesh_name = 'Mesh'

home_path = FreeCAD.getHomePath()
temp_dir = tempfile.gettempdir()
temp_dir = tempfile.gettempdir() + '/FEM_unittests'
test_file_dir = home_path + 'Mod/Fem/test_files/ccx'

static_base_name = 'cube_static'
Expand Down Expand Up @@ -659,12 +659,12 @@ def create_test_results():


'''
update the results in FEM untit tests:
update the results of FEM unit tests:
import TestFem
TestFem.create_test_results()
copy result files from FEM test directories into the src dirctory
copy result files from your_temp_directory/FEM_unittests/ test directories into the src dirctory
compare the results with git difftool
run make
start FreeCAD and run FEM unit test
Expand Down

0 comments on commit 94ddfdb

Please sign in to comment.