Commit 7f0d7acd authored by GILLES Sebastien's avatar GILLES Sebastien
Browse files

#867 SCons: add interpolation tests.

parent 0d001343
......@@ -53,8 +53,6 @@ namespace HappyHeart
{
assert(!(!extended_unknown_ptr));
std::cout << extended_unknown_ptr->GetShapeFunctionLabel() << '\t' << LocalInterpolatorT::GetSourceShapeFunctionLabel() << std::endl;
return extended_unknown_ptr->GetShapeFunctionLabel() == LocalInterpolatorT::GetSourceShapeFunctionLabel();
}));
......
......@@ -117,6 +117,8 @@ list_test_exec = SConscript('Test/SConscript',
variant_dir=os.path.join(env['CURRENT_BUILD_INTERMEDIATE_DIR'], 'Tests'),
duplicate=0)
executable_list.extend(list_test_exec)
#---------------------------------------------------------
# Create an executable for post-processing executable(s).
......
import os
import imp
Import('env')
Import(['env'])
custom = imp.load_source('custom_scons_functions', '{0}/custom_scons_functions.py'.format(env["HAPPY_HEART_SCONS"]))
list_exec = []
......@@ -64,15 +65,22 @@ test_conform_operator = env.Program('test_conform_operator-{0}'.format(env["LIBR
LIBPATH=env['LIBPATH'])
main_test_p1_to_p2_src = Split('''
Operators/P1_to_P2/main.cpp
Operators/P1_to_P2/Model.cpp
Operators/P1_to_HigherOrder/main_interpolator_P1_P2.cpp
''')
test_p1_to_p2 = env.Program('test_p1_to_p2-{0}'.format(env["LIBRARY_TYPE"]),
main_test_p1_to_p2_src,
LIBS=env["LINK_LIBRARIES_LIST"],
LIBPATH=env['LIBPATH'])
test_p1_to_p2 = custom.HappyHeartProgram(env, 'test_p1_to_p2', main_test_p1_to_p2_src, [])
main_test_p1_to_p1b_src = Split('''
Operators/P1_to_HigherOrder/main_interpolator_P1_P1b.cpp
''')
test_p1_to_p1b = custom.HappyHeartProgram(env, 'test_p1_to_p1b', main_test_p1_to_p1b_src, [])
main_test_fiber_list_manager_src = Split('''
Parameter/AtDof/main.cpp
......@@ -91,6 +99,7 @@ list_exec.extend((test,
test_jacobian,
test_conform_operator,
test_p1_to_p2,
test_p1_to_p1b,
test_fiber_list_manager
)) #test_ondomatic_numbering deactivated for the moment #523
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment