Skip to content

Commit

Permalink
describe test
Browse files Browse the repository at this point in the history
  • Loading branch information
Angelyr committed Nov 30, 2023
1 parent 92a7449 commit ac7d4ab
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ if(BUILD_TESTING)
endif()
endif()

function(test_func_impl TEST_NAME NUM_PROCS)
function(test_func_impl TEST_NAME NUM_PROCS)

if (ENABLE_CTEST_MEMPOOL)
set(CTEST_MEMPOOL_ARG "--osh-pool")
Expand Down Expand Up @@ -572,6 +572,11 @@ if(BUILD_TESTING)
endif()
osh_add_exe(shape_test)
test_basefunc(run_shape_test 1 ./shape_test)

test_func(describe_one 1 ./describe ${CMAKE_SOURCE_DIR}/meshes/box_3d.osh)
if(Omega_h_USE_MPI)
test_func(describe_two 2 ./describe ${CMAKE_SOURCE_DIR}/meshes/box_3d_2p.osh)
endif()
endif()

bob_config_header("${CMAKE_CURRENT_BINARY_DIR}/Omega_h_config.h")
Expand Down

0 comments on commit ac7d4ab

Please sign in to comment.