Commit 2b72b7f1 authored by Timo Koch's avatar Timo Koch
Browse files

[cmake] Don't install tests

parent 790f8aaa
......@@ -21,11 +21,3 @@ dune_add_test(NAME test_geometry_fracture
# symlink the input file in the build directory
dune_symlink_to_source_files(FILES "network1d.msh" "network2d.msh" "fracture.msh")
#install sources
install(FILES
test_bboxtree.cc
test_geometry_fracture.cc
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/test/common/boundingboxtree)
set(CMAKE_BUILD_TYPE Release)
......@@ -2,14 +2,3 @@ dune_add_test(SOURCES test_1d3d_intersection.cc LABELS unit)
dune_add_test(SOURCES test_2d3d_intersection.cc LABELS unit)
dune_add_test(SOURCES test_graham_convex_hull.cc LABELS unit)
dune_add_test(SOURCES test_makegeometry.cc LABELS unit)
#install sources
install(FILES
test_1d3d_intersection.cc
test_2d3d_intersection.cc
test_graham_convex_hull.cc
test_makegeometry.cc
writetriangulation.hh
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/test/common/geometry)
set(CMAKE_BUILD_TYPE RelWithDebInfo)
# build the test for the property system
# build the test for the math header
dune_add_test(SOURCES test_math.cc
LABELS unit)
#install sources
install(FILES
test_math.cc
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/test/common/math)
dune_add_test(SOURCES test_loggingparametertree.cc
LABELS unit)
dune_symlink_to_source_files(FILES "params.input")
#install sources
install(FILES
test_loggingparametertree.cc
params.input
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/test/common/parameters)
......@@ -4,9 +4,3 @@ dune_add_test(SOURCES test_propertysystem.cc
# build the test for the property system using the old macros (deprecated)
dune_add_test(SOURCES test_propertysystem_macros.cc
LABELS unit)
#install sources
install(FILES
test_propertysystem.cc
test_propertysystem_macros.cc
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/test/common/propertysystem)
dune_add_test(SOURCES test_spline.cc
LABELS unit)
#install sources
install(FILES
test_spline.cc
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/test/common/spline)
add_subdirectory("cellcentered")
add_subdirectory("staggered")
add_subdirectory("box")
add_subdirectory(cellcentered)
add_subdirectory(staggered)
add_subdirectory(box)
......@@ -7,8 +7,3 @@ dune_add_test(NAME test_boxfvgeometry_caching
SOURCES test_boxfvgeometry.cc
COMPILE_DEFINITIONS ENABLE_CACHING=true
LABELS unit discretization)
#install sources
install(FILES
test_boxfvgeometry.cc
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/test/discretization/box)
......@@ -5,9 +5,3 @@ dune_add_test(NAME test_staggeredfvgeometry
dune_add_test(NAME test_staggered_free_flow_geometry
SOURCES test_staggered_free_flow_geometry.cc
LABELS unit discretization)
#install sources
install(FILES
test_staggeredfvgeometry.cc
test_staggered_free_flow_geometry.cc
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/test/discretization/staggered)
add_subdirectory("navierstokes")
add_subdirectory("navierstokesnc")
add_subdirectory("rans")
add_subdirectory("ransnc")
add_subdirectory(navierstokes)
add_subdirectory(navierstokesnc)
add_subdirectory(rans)
add_subdirectory(ransnc)
add_subdirectory("elastic")
add_subdirectory("poroelastic")
add_subdirectory(elastic)
add_subdirectory(poroelastic)
......@@ -8,11 +8,3 @@ dune_add_test(NAME test_elastic_box
--files ${CMAKE_SOURCE_DIR}/test/references/test_elastic_box-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/test_elastic_box-00001.vtu
--command "${CMAKE_CURRENT_BINARY_DIR}/test_elastic_box params.input -Problem.Name test_elastic_box")
set(CMAKE_BUILD_TYPE Release)
install(FILES
problem.hh
spatialparams.hh
main.cc
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/test/geomechanics/elastic)
......@@ -8,11 +8,3 @@ dune_add_test(NAME test_poroelastic_box
--files ${CMAKE_SOURCE_DIR}/test/references/test_poroelastic_box-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/test_poroelastic_box-00001.vtu
--command "${CMAKE_CURRENT_BINARY_DIR}/test_poroelastic_box params.input -Problem.Name test_poroelastic_box")
set(CMAKE_BUILD_TYPE Release)
install(FILES
problem.hh
spatialparams.hh
main.cc
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/test/geomechanics/poroelastic)
add_subdirectory("gnuplotinterface")
add_subdirectory("gridmanager")
add_subdirectory("container")
add_subdirectory("vtk")
add_subdirectory(gnuplotinterface)
add_subdirectory(gridmanager)
add_subdirectory(container)
add_subdirectory(vtk)
dune_add_test(SOURCES test_container_io.cc
LABELS unit)
#install sources
install(FILES
test_container_io.cc
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/test/io/container)
file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/output")
dune_add_test(SOURCES test_gnuplotinterface.cc
LABELS unit)
#install sources
install(FILES
test_gnuplotinterface.cc
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/test/io/gnuplotinterface)
add_subdirectory("components")
add_subdirectory("fluidsystems")
add_subdirectory("fluidmatrixinteractions")
add_subdirectory("immiscibleflash")
add_subdirectory("ncpflash")
add_subdirectory("pengrobinson")
add_subdirectory("solidsystems")
add_subdirectory("tabulation")
add_subdirectory(components)
add_subdirectory(fluidsystems)
add_subdirectory(fluidmatrixinteractions)
add_subdirectory(immiscibleflash)
add_subdirectory(ncpflash)
add_subdirectory(pengrobinson)
add_subdirectory(solidsystems)
add_subdirectory(tabulation)
......@@ -13,9 +13,3 @@ dune_add_test(SOURCES test_thermalconductivitysomerton.cc
--files ${CMAKE_SOURCE_DIR}/test/references/thermalconductivitysomerton-reference.dat
${CMAKE_CURRENT_BINARY_DIR}/somerton_lambda_eff.dat
--command "${CMAKE_CURRENT_BINARY_DIR}/test_thermalconductivitysomerton")
#install sources
install(FILES
test_thermalconductivityjohansen.cc
test_thermalconductivitysomerton.cc
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/test/material/fluidmatrixinteractions/2p)
add_subdirectory("2p")
add_subdirectory(2p)
dune_add_test(SOURCES test_effectivediffusivitymillingtonquirk.cc
LABELS unit
......@@ -15,9 +15,3 @@ dune_add_test(SOURCES test_effectivediffusivityconstanttortuosity.cc
--files ${CMAKE_SOURCE_DIR}/test/references/effectivediffusivityconstanttau-reference.dat
${CMAKE_CURRENT_BINARY_DIR}/constant_d_eff.dat
--command "${CMAKE_CURRENT_BINARY_DIR}/test_effectivediffusivityconstanttortuosity -SpatialParams.Tortuosity 0.3")
#install sources
install(FILES
test_effectivediffusivityconstanttortuosity.cc
test_effectivediffusivitymillingtonquirk.cc
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/test/material/fluidmatrixinteractions)
dune_add_test(SOURCES test_fluidsystems.cc
LABELS unit)
#install sources
install(FILES
checkfluidsystem.hh
test_fluidsystems.cc
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/test/material/fluidsystems)
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