Commit 11cfdaac authored by DIAZ Jerome's avatar DIAZ Jerome Committed by GILLES Sebastien

#1418 Added Operator in the name of the different tests related to the microsphere.

parent ec002c54
add_executable(MoReFEMTestMicrosphere
add_executable(MoReFEMTestMicrosphereOperator
${CMAKE_CURRENT_LIST_DIR}/InputData.hpp
${CMAKE_CURRENT_LIST_DIR}/Model.cpp
${CMAKE_CURRENT_LIST_DIR}/Model.hpp
......@@ -9,61 +9,61 @@ add_executable(MoReFEMTestMicrosphere
${CMAKE_CURRENT_LIST_DIR}/main.cpp
)
target_link_libraries(MoReFEMTestMicrosphere
target_link_libraries(MoReFEMTestMicrosphereOperator
${ALL_LOAD_BEGIN_FLAG}
${MOREFEM_MODEL}
${ALL_LOAD_END_FLAG})
add_executable(MoReFEMTestMicrosphereEnsightOutput ${CMAKE_CURRENT_LIST_DIR}/main_ensight_output.cpp)
add_executable(MoReFEMTestMicrosphereOperatorEnsightOutput ${CMAKE_CURRENT_LIST_DIR}/main_ensight_output.cpp)
target_link_libraries(MoReFEMTestMicrosphereEnsightOutput
target_link_libraries(MoReFEMTestMicrosphereOperatorEnsightOutput
${MOREFEM_POST_PROCESSING})
add_executable(MoReFEMTestMicrosphereCheckResults ${CMAKE_CURRENT_LIST_DIR}/test_results.cpp)
target_link_libraries(MoReFEMTestMicrosphereCheckResults
add_executable(MoReFEMTestMicrosphereOperatorCheckResults ${CMAKE_CURRENT_LIST_DIR}/test_results.cpp)
target_link_libraries(MoReFEMTestMicrosphereOperatorCheckResults
${MOREFEM_TEST_TOOLS})
add_test(Microsphere
MoReFEMTestMicrosphere
add_test(MicrosphereOperator
MoReFEMTestMicrosphereOperator
--overwrite_directory
-e MOREFEM_ROOT=${MOREFEM_ROOT}
-i ${MOREFEM_ROOT}/Sources/Test/Operators/VariationalInstances/Microsphere/demo_microsphere.lua
-e MOREFEM_RESULT_DIR=${MOREFEM_TEST_OUTPUT_DIR}/Seq)
set_tests_properties(Microsphere PROPERTIES TIMEOUT 10)
set_tests_properties(MicrosphereOperator PROPERTIES TIMEOUT 10)
add_test(Microsphere-mpi
add_test(MicrosphereOperator-mpi
${OPEN_MPI_INCL_DIR}/../bin/mpirun
--oversubscribe
-np 4 MoReFEMTestMicrosphere
-np 4 MoReFEMTestMicrosphereOperator
--overwrite_directory
-e MOREFEM_ROOT=${MOREFEM_ROOT}
-i ${MOREFEM_ROOT}/Sources/Test/Operators/VariationalInstances/Microsphere/demo_microsphere.lua
-e MOREFEM_RESULT_DIR=${MOREFEM_TEST_OUTPUT_DIR}/Mpi4)
set_tests_properties(Microsphere-mpi PROPERTIES TIMEOUT 10)
set_tests_properties(MicrosphereOperator-mpi PROPERTIES TIMEOUT 10)
add_test(MicrosphereModelEnsightOutput
MoReFEMTestMicrosphereEnsightOutput
add_test(MicrosphereOperatorEnsightOutput
MoReFEMTestMicrosphereOperatorEnsightOutput
-e MOREFEM_ROOT=${MOREFEM_ROOT}
-i ${MOREFEM_TEST_OUTPUT_DIR}/Seq/Microsphere/Rank_0/input_data.lua
-e MOREFEM_RESULT_DIR=${MOREFEM_TEST_OUTPUT_DIR}/Seq)
set_tests_properties(MicrosphereModelEnsightOutput PROPERTIES TIMEOUT 10)
set_tests_properties(MicrosphereOperatorEnsightOutput PROPERTIES TIMEOUT 10)
add_test(MicrosphereModelEnsightOutput-mpi
add_test(MicrosphereOperatorEnsightOutput-mpi
MoReFEMTestMicrosphereEnsightOutput
-e MOREFEM_ROOT=${MOREFEM_ROOT}
-i ${MOREFEM_TEST_OUTPUT_DIR}/Mpi4/Microsphere/Rank_0/input_data.lua
-e MOREFEM_RESULT_DIR=${MOREFEM_TEST_OUTPUT_DIR}/Mpi4)
set_tests_properties(MicrosphereModelEnsightOutput-mpi PROPERTIES TIMEOUT 10)
set_tests_properties(MicrosphereOperatorEnsightOutput-mpi PROPERTIES TIMEOUT 10)
add_test(MicrosphereCheckResults
MoReFEMTestMicrosphereCheckResults
add_test(MicrosphereOperatorCheckResults
MoReFEMTestMicrosphereOperatorCheckResults
--
${MOREFEM_ROOT}
${MOREFEM_TEST_OUTPUT_DIR}
)
set_tests_properties(MicrosphereCheckResults PROPERTIES TIMEOUT 10)
set_tests_properties(MicrosphereOperatorCheckResults PROPERTIES TIMEOUT 10)
Markdown is supported
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