Commit 83666980 authored by GILLES Sebastien's avatar GILLES Sebastien

#1457 Increase many timeouts: finally tests may vary wildly in execution time...

#1457 Increase many timeouts: finally tests may vary wildly in execution time and being conservative is actually a good idea...
parent 139d6c4f
......@@ -180,4 +180,4 @@ add_test(ElasticityCheckResults
${MOREFEM_TEST_OUTPUT_DIR}
)
set_tests_properties(ElasticityCheckResults PROPERTIES TIMEOUT 2)
set_tests_properties(ElasticityCheckResults PROPERTIES TIMEOUT 5)
......@@ -41,7 +41,7 @@ add_test(HeatModel2D
-i ${MOREFEM_ROOT}/Sources/ModelInstances/Heat/demo_input_heat.lua
-e MOREFEM_RESULT_DIR=${MOREFEM_TEST_OUTPUT_DIR}/Seq)
set_tests_properties(HeatModel2D PROPERTIES TIMEOUT 4)
set_tests_properties(HeatModel2D PROPERTIES TIMEOUT 10)
add_test(HeatModel2DEnsightOutput
MoReFEM4HeatEnsightOutput
......@@ -49,7 +49,7 @@ add_test(HeatModel2DEnsightOutput
-i ${MOREFEM_TEST_OUTPUT_DIR}/Seq/Heat/2D/input_data.lua
-e MOREFEM_RESULT_DIR=${MOREFEM_TEST_OUTPUT_DIR}/Seq)
set_tests_properties(HeatModel2DEnsightOutput PROPERTIES TIMEOUT 2)
set_tests_properties(HeatModel2DEnsightOutput PROPERTIES TIMEOUT 10)
add_test(HeatModel2D-mpi
${OPEN_MPI_INCL_DIR}/../bin/mpirun
......@@ -59,7 +59,7 @@ add_test(HeatModel2D-mpi
-i ${MOREFEM_ROOT}/Sources/ModelInstances/Heat/demo_input_heat.lua
-e MOREFEM_RESULT_DIR=${MOREFEM_TEST_OUTPUT_DIR}/Mpi4)
set_tests_properties(HeatModel2D-mpi PROPERTIES TIMEOUT 2)
set_tests_properties(HeatModel2D-mpi PROPERTIES TIMEOUT 10)
add_test(HeatModel2DEnsightOutput-mpi
MoReFEM4HeatEnsightOutput
......@@ -67,7 +67,7 @@ add_test(HeatModel2DEnsightOutput-mpi
-i ${MOREFEM_TEST_OUTPUT_DIR}/Mpi4/Heat/2D/input_data.lua
-e MOREFEM_RESULT_DIR=${MOREFEM_TEST_OUTPUT_DIR}/Mpi4)
set_tests_properties(HeatModel2DEnsightOutput-mpi PROPERTIES TIMEOUT 2)
set_tests_properties(HeatModel2DEnsightOutput-mpi PROPERTIES TIMEOUT 10)
add_test(HeatModel1D
MoReFEM4Heat
......@@ -83,7 +83,7 @@ add_test(HeatModel1DEnsightOutput
-i ${MOREFEM_TEST_OUTPUT_DIR}/Seq/Heat/1D/input_data.lua
-e MOREFEM_RESULT_DIR=${MOREFEM_TEST_OUTPUT_DIR}/Seq)
set_tests_properties(HeatModel1DEnsightOutput PROPERTIES TIMEOUT 2)
set_tests_properties(HeatModel1DEnsightOutput PROPERTIES TIMEOUT 10)
add_test(HeatModel1D-mpi
${OPEN_MPI_INCL_DIR}/../bin/mpirun
......@@ -93,7 +93,7 @@ add_test(HeatModel1D-mpi
-i ${MOREFEM_ROOT}/Sources/ModelInstances/Heat/demo_input_heat_1d.lua
-e MOREFEM_RESULT_DIR=${MOREFEM_TEST_OUTPUT_DIR}/Mpi4)
set_tests_properties(HeatModel1D-mpi PROPERTIES TIMEOUT 2)
set_tests_properties(HeatModel1D-mpi PROPERTIES TIMEOUT 10)
add_test(HeatModel1DEnsightOutput-mpi
MoReFEM4HeatEnsightOutput
......@@ -101,7 +101,7 @@ add_test(HeatModel1DEnsightOutput-mpi
-i ${MOREFEM_TEST_OUTPUT_DIR}/Mpi4/Heat/1D/input_data.lua
-e MOREFEM_RESULT_DIR=${MOREFEM_TEST_OUTPUT_DIR}/Mpi4)
set_tests_properties(HeatModel1DEnsightOutput-mpi PROPERTIES TIMEOUT 2)
set_tests_properties(HeatModel1DEnsightOutput-mpi PROPERTIES TIMEOUT 10)
add_test(HeatCheckResults
MoReFEM4HeatCheckResults
......@@ -110,6 +110,6 @@ add_test(HeatCheckResults
${MOREFEM_TEST_OUTPUT_DIR}
)
set_tests_properties(HeatCheckResults PROPERTIES TIMEOUT 2)
set_tests_properties(HeatCheckResults PROPERTIES TIMEOUT 10)
......@@ -58,7 +58,7 @@ add_test(HyperelasticityModelEnsightOutput
-i ${MOREFEM_TEST_OUTPUT_DIR}/Seq/MidpointHyperelasticity/input_data.lua
-e MOREFEM_RESULT_DIR=${MOREFEM_TEST_OUTPUT_DIR}/Seq)
set_tests_properties(HyperelasticityModelEnsightOutput PROPERTIES TIMEOUT 2)
set_tests_properties(HyperelasticityModelEnsightOutput PROPERTIES TIMEOUT 5)
add_test(HyperelasticityModelEnsightOutput-mpi
MoReFEM4HyperelasticityEnsightOutput
......@@ -66,7 +66,7 @@ add_test(HyperelasticityModelEnsightOutput-mpi
-i ${MOREFEM_TEST_OUTPUT_DIR}/Mpi4/MidpointHyperelasticity/input_data.lua
-e MOREFEM_RESULT_DIR=${MOREFEM_TEST_OUTPUT_DIR}/Mpi4)
set_tests_properties(HyperelasticityModelEnsightOutput-mpi PROPERTIES TIMEOUT 2)
set_tests_properties(HyperelasticityModelEnsightOutput-mpi PROPERTIES TIMEOUT 5)
add_test(HyperelasticityCheckResults
MoReFEM4HyperelasticityCheckResults
......@@ -75,4 +75,4 @@ add_test(HyperelasticityCheckResults
${MOREFEM_TEST_OUTPUT_DIR}
)
set_tests_properties(HyperelasticityCheckResults PROPERTIES TIMEOUT 2)
set_tests_properties(HyperelasticityCheckResults PROPERTIES TIMEOUT 5)
......@@ -51,7 +51,7 @@ add_test(StokesModelEnsightOutput
-i ${MOREFEM_TEST_OUTPUT_DIR}/Seq/Stokes/input_data.lua
-e MOREFEM_RESULT_DIR=${MOREFEM_TEST_OUTPUT_DIR}/Seq)
set_tests_properties(StokesModelEnsightOutput PROPERTIES TIMEOUT 5)
set_tests_properties(StokesModelEnsightOutput PROPERTIES TIMEOUT 10)
add_test(StokesModelEnsightOutput-mpi
MoReFEM4StokesEnsightOutput
......@@ -59,13 +59,13 @@ add_test(StokesModelEnsightOutput-mpi
-i ${MOREFEM_TEST_OUTPUT_DIR}/Mpi4/Stokes/input_data.lua
-e MOREFEM_RESULT_DIR=${MOREFEM_TEST_OUTPUT_DIR}/Mpi4)
set_tests_properties(StokesModelEnsightOutput-mpi PROPERTIES TIMEOUT 5)
set_tests_properties(StokesModelEnsightOutput-mpi PROPERTIES TIMEOUT 10)
add_executable(MoReFEM4StokesCheckResults ${CMAKE_CURRENT_LIST_DIR}/test_results.cpp)
target_link_libraries(MoReFEM4StokesCheckResults
${MOREFEM_TEST_TOOLS})
set_tests_properties(StokesModelEnsightOutput-mpi PROPERTIES TIMEOUT 5)
set_tests_properties(StokesModelEnsightOutput-mpi PROPERTIES TIMEOUT 10)
add_test(StokesCheckResults
MoReFEM4StokesCheckResults
......@@ -74,7 +74,7 @@ add_test(StokesCheckResults
${MOREFEM_TEST_OUTPUT_DIR}
)
set_tests_properties(StokesCheckResults PROPERTIES TIMEOUT 5)
set_tests_properties(StokesCheckResults PROPERTIES TIMEOUT 10)
include(${CMAKE_CURRENT_LIST_DIR}/TwoOperators.cmake)
......@@ -11,4 +11,4 @@ add_test(MoReFEMDataCommandLineOptions
${MOREFEM_ROOT}
${MOREFEM_TEST_OUTPUT_DIR})
set_tests_properties(MoReFEMDataCommandLineOptions PROPERTIES TIMEOUT 2)
set_tests_properties(MoReFEMDataCommandLineOptions PROPERTIES TIMEOUT 10)
......@@ -11,4 +11,4 @@ add_test(MoReFEMDataInitialCondition
${MOREFEM_ROOT}
${MOREFEM_TEST_OUTPUT_DIR})
set_tests_properties(MoReFEMDataInitialCondition PROPERTIES TIMEOUT 2)
set_tests_properties(MoReFEMDataInitialCondition PROPERTIES TIMEOUT 5)
......@@ -11,4 +11,4 @@ add_test(MoReFEMDataInputData
${MOREFEM_ROOT}
${MOREFEM_TEST_OUTPUT_DIR})
set_tests_properties(MoReFEMDataInputData PROPERTIES TIMEOUT 2)
set_tests_properties(MoReFEMDataInputData PROPERTIES TIMEOUT 10)
......@@ -13,4 +13,4 @@ add_test(VariableTimeStep
${MOREFEM_ROOT}
${MOREFEM_TEST_OUTPUT_DIR})
set_tests_properties(VariableTimeStep PROPERTIES TIMEOUT 2)
set_tests_properties(VariableTimeStep PROPERTIES TIMEOUT 5)
......@@ -16,7 +16,7 @@ add_test(DomainListInCoords
${MOREFEM_ROOT}
${MOREFEM_TEST_OUTPUT_DIR})
set_tests_properties(DomainListInCoords PROPERTIES TIMEOUT 2)
set_tests_properties(DomainListInCoords PROPERTIES TIMEOUT 5)
add_test(DomainListInCoords-mpi
${OPEN_MPI_INCL_DIR}/../bin/mpirun
......@@ -26,4 +26,4 @@ add_test(DomainListInCoords-mpi
${MOREFEM_ROOT}
${MOREFEM_TEST_OUTPUT_DIR})
set_tests_properties(DomainListInCoords-mpi PROPERTIES TIMEOUT 2)
set_tests_properties(DomainListInCoords-mpi PROPERTIES TIMEOUT 5)
......@@ -12,4 +12,4 @@ add_test(EnsightMeditMesh
${MOREFEM_ROOT}
${MOREFEM_TEST_OUTPUT_DIR}/Geometry/EnsightMeditMesh)
set_tests_properties(EnsightMeditMesh PROPERTIES TIMEOUT 2)
set_tests_properties(EnsightMeditMesh PROPERTIES TIMEOUT 10)
......@@ -19,4 +19,4 @@ add_test(LoadPrepartitionedMesh
${MOREFEM_ROOT}
${MOREFEM_TEST_OUTPUT_DIR})
set_tests_properties(LoadPrepartitionedMesh PROPERTIES TIMEOUT 10)
set_tests_properties(LoadPrepartitionedMesh PROPERTIES TIMEOUT 20)
......@@ -34,7 +34,7 @@ add_test(OperatorGradGrad3D
${MOREFEM_ROOT}
${MOREFEM_TEST_OUTPUT_DIR})
set_tests_properties(OperatorGradGrad3D PROPERTIES TIMEOUT 2)
set_tests_properties(OperatorGradGrad3D PROPERTIES TIMEOUT 5)
add_test(OperatorGradGrad2D
MoReFEMTestOperatorGradGrad2D
......@@ -42,7 +42,7 @@ add_test(OperatorGradGrad2D
${MOREFEM_ROOT}
${MOREFEM_TEST_OUTPUT_DIR})
set_tests_properties(OperatorGradGrad2D PROPERTIES TIMEOUT 2)
set_tests_properties(OperatorGradGrad2D PROPERTIES TIMEOUT 5)
add_test(OperatorGradGrad1D
MoReFEMTestOperatorGradGrad1D
......@@ -50,4 +50,4 @@ add_test(OperatorGradGrad1D
${MOREFEM_ROOT}
${MOREFEM_TEST_OUTPUT_DIR})
set_tests_properties(OperatorGradGrad1D PROPERTIES TIMEOUT 2)
set_tests_properties(OperatorGradGrad1D PROPERTIES TIMEOUT 5)
......@@ -34,7 +34,7 @@ add_test(OperatorMass3D
${MOREFEM_ROOT}
${MOREFEM_TEST_OUTPUT_DIR})
set_tests_properties(OperatorMass3D PROPERTIES TIMEOUT 2)
set_tests_properties(OperatorMass3D PROPERTIES TIMEOUT 5)
add_test(OperatorMass2D
MoReFEMTestOperatorMass2D
......@@ -42,7 +42,7 @@ add_test(OperatorMass2D
${MOREFEM_ROOT}
${MOREFEM_TEST_OUTPUT_DIR})
set_tests_properties(OperatorMass2D PROPERTIES TIMEOUT 2)
set_tests_properties(OperatorMass2D PROPERTIES TIMEOUT 5)
add_test(OperatorMass1D
MoReFEMTestOperatorMass1D
......@@ -50,4 +50,4 @@ add_test(OperatorMass1D
${MOREFEM_ROOT}
${MOREFEM_TEST_OUTPUT_DIR})
set_tests_properties(OperatorMass1D PROPERTIES TIMEOUT 2)
set_tests_properties(OperatorMass1D PROPERTIES TIMEOUT 5)
......@@ -27,4 +27,4 @@ add_test(NonLinearMembrane MoReFEMTestNonLinearMembrane
${MOREFEM_ROOT}
${MOREFEM_TEST_OUTPUT_DIR})
set_tests_properties(NonLinearMembrane PROPERTIES TIMEOUT 2)
set_tests_properties(NonLinearMembrane PROPERTIES TIMEOUT 5)
......@@ -22,4 +22,4 @@ add_test(HyperelasticOperator MoReFEMTestHyperelasticOperator
${MOREFEM_ROOT}
${MOREFEM_TEST_OUTPUT_DIR})
set_tests_properties(HyperelasticOperator PROPERTIES TIMEOUT 2)
set_tests_properties(HyperelasticOperator PROPERTIES TIMEOUT 5)
......@@ -28,7 +28,7 @@ add_test(SolidAllDefined
${MOREFEM_ROOT}
${MOREFEM_TEST_OUTPUT_DIR})
set_tests_properties(SolidAllDefined PROPERTIES TIMEOUT 2)
set_tests_properties(SolidAllDefined PROPERTIES TIMEOUT 5)
add_test(SolidLameIgnored
MoReFEMTestSolidLameIgnored
......@@ -36,7 +36,7 @@ add_test(SolidLameIgnored
${MOREFEM_ROOT}
${MOREFEM_TEST_OUTPUT_DIR})
set_tests_properties(SolidLameIgnored PROPERTIES TIMEOUT 2)
set_tests_properties(SolidLameIgnored PROPERTIES TIMEOUT 5)
add_test(SolidNoKappaMuC
MoReFEMTestSolidNoKappaMuC
......@@ -44,7 +44,7 @@ add_test(SolidNoKappaMuC
${MOREFEM_ROOT}
${MOREFEM_TEST_OUTPUT_DIR})
set_tests_properties(SolidNoKappaMuC PROPERTIES TIMEOUT 2)
set_tests_properties(SolidNoKappaMuC PROPERTIES TIMEOUT 5)
add_test(SolidPoissonWithoutYoung
MoReFEMTestSolidPoissonWithoutYoung
......@@ -52,5 +52,5 @@ add_test(SolidPoissonWithoutYoung
${MOREFEM_ROOT}
${MOREFEM_TEST_OUTPUT_DIR})
set_tests_properties(SolidPoissonWithoutYoung PROPERTIES TIMEOUT 2)
set_tests_properties(SolidPoissonWithoutYoung PROPERTIES TIMEOUT 5)
......@@ -16,7 +16,7 @@ add_test(PetscVectorIO
${MOREFEM_ROOT}
${MOREFEM_TEST_OUTPUT_DIR}/Seq)
set_tests_properties(PetscVectorIO PROPERTIES TIMEOUT 4)
set_tests_properties(PetscVectorIO PROPERTIES TIMEOUT 10)
add_test(PetscVectorIO-mpi
${OPEN_MPI_INCL_DIR}/../bin/mpirun
......@@ -27,4 +27,4 @@ add_test(PetscVectorIO-mpi
${MOREFEM_ROOT}
${MOREFEM_TEST_OUTPUT_DIR}/Mpi4)
set_tests_properties(PetscVectorIO-mpi PROPERTIES TIMEOUT 4)
set_tests_properties(PetscVectorIO-mpi 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