]> SALOME platform Git repositories - tools/solverlab.git/commitdiff
Salome HOME
Addd a 3D sequential test
authormichael <michael@localhost.localdomain>
Thu, 17 Dec 2020 10:47:24 +0000 (11:47 +0100)
committermichael <michael@localhost.localdomain>
Thu, 17 Dec 2020 10:47:24 +0000 (11:47 +0100)
CoreFlows/examples/C/CMakeLists.txt

index 3ff6800e19fcf0642db41b7cbbe352f395225b49..b966a6c7314e3a7514f485d6245572625e00777f 100755 (executable)
@@ -96,9 +96,14 @@ CreateTestExecAndInstall(StationaryDiffusionEquation_2DFV_StructuredSquares.cxx
 CreateTestExecAndInstall(StationaryDiffusionEquation_3DEF_StructuredTetrahedra.cxx  "${libs_for_tests}" )
 CreateTestExecAndInstall(StationaryDiffusionEquation_3DFV_StructuredTetrahedra.cxx  "${libs_for_tests}" )
 CreateTestExecAndInstall(testEOS.cxx  "${libs_for_tests}" )
-CreateTestExecAndInstall(WaveSystem_2DFV_SphericalExplosion_CDMATH.cxx  "${libs_for_tests}" )
 
  
+  add_executable(WaveSystem_FV_SphericalExplosion_CDMATH.exe WaveSystem_2DFV_SphericalExplosion_CDMATH.cxx)
+  target_link_libraries(WaveSystem_FV_SphericalExplosion_CDMATH.exe CoreFlowsLibs )
+  install(TARGETS WaveSystem_FV_SphericalExplosion_CDMATH.exe DESTINATION share/examples)
+  add_test(NAME WaveSystem_2DFV_SphericalExplosion_CDMATH_SQUARE  COMMAND "./WaveSystem_FV_SphericalExplosion_CDMATH.exe")     
+  add_test(NAME WaveSystem_3DFV_SphericalExplosion_CDMATH_CUBE    COMMAND "./WaveSystem_FV_SphericalExplosion_CDMATH.exe" resources/meshCube.med)     
+
 if( SOLVERLAB_WITH_MPI )
   add_executable(WaveSystem_2DFV_SphericalExplosion_MPI.exe WaveSystem_2DFV_SphericalExplosion_MPI.cxx)                    # compilation of the testxxx.exe 
   target_link_libraries(WaveSystem_2DFV_SphericalExplosion_MPI.exe CoreFlowsLibs  ${MPI_LIBRARY})              # provide required lib for testxxx.exe