Skip to content
Snippets Groups Projects
Commit 10a17266 authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[A] Move Tests.cmake into CLI/. Cleanup cmake file.

The Tests of the CLI/ogs should stay together with the binary.
parent 1dae56d4
No related branches found
No related tags found
No related merge requests found
......@@ -10,3 +10,5 @@ TARGET_LINK_LIBRARIES(ogs
MeshLib
${Boost_LIBRARIES}
)
INCLUDE(Tests.cmake)
......@@ -2,13 +2,8 @@
add_test(NAME ogs_no_args COMMAND ogs)
set_tests_properties(ogs_no_args PROPERTIES WILL_FAIL TRUE)
#AddOgsBenchmark(ogs_empty_project EmptyProject.xml)
#AddOgsBenchmark(ogs_empty_project Elliptic/quad_20x10_GroundWaterFlow.prj)
ExternalData_Add_Test(
data
NAME reading_GroundWaterFlow_project
NAME reading_GroundWaterFlow_project
COMMAND ogs DATA{${ExternalData_SOURCE_ROOT}/Elliptic/quad_20x10_GroundWaterFlow/quad_20x10_GroundWaterFlow.prj,quad_20x10_constMat0.mesh.vtu,quad_20x10_left_right.gml}
)
#AddTest(ogs DATA{${ExternalData_SOURCE_ROOT}/Elliptic/quad_20x10_GroundWaterFlow.prj} TIME)
......@@ -13,5 +13,3 @@ ENDIF() # OGS_BUILD_GUI
IF(OGS_BUILD_CLI )
ADD_SUBDIRECTORY(CLI)
ENDIF() # OGS_BUILD_CLI
INCLUDE(Tests.cmake)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment