message: Add ceed tests to cmake.
diff: @@ -79,12 +79,20 @@ if (MFEM_USE_CUDA)
  add_dependencies(${MFEM_ALL_TESTS_TARGET_NAME} cunit_tests)
  endif()
  +if (MFEM_USE_CEED)
  + set(CEED_TESTS_SRCS
  + ceed/test_ceed.cpp
  + ceed/test_ceed_main.cpp
  + )
  +endif()
  +
  # All device unit tests are built into another executable, in order to be able
  # to change the device.
  set(SEDOV_TESTS_SRCS
  unit_test_main.cpp
  miniapps/test_sedov.cpp
  )
  +
  if (MFEM_USE_CUDA)
  set_property(SOURCE ${SEDOV_TESTS_SRCS} PROPERTY LANGUAGE CUDA)
  endif()
  @@ -111,6 +119,11 @@ if (MFEM_USE_CUDA)
  target_link_libraries(sedov_tests_cuda_uvm mfem)
  endif()
  +if (MFEM_USE_CEED)
  + add_executable(ceed_tests ${CEED_TESTS_SRCS})
  + target_link_libraries(ceed_tests mfem)
  +endif()
  +
  # Copy data to the build directory.
  add_custom_command(TARGET unit_tests POST_BUILD
  COMMAND ${CMAKE_COMMAND} -E copy_directory
  @@ -124,6 +137,10 @@ if (MFEM_USE_CUDA)
  add_dependencies(${MFEM_ALL_TESTS_TARGET_NAME} sedov_tests_cuda_uvm)
  endif()
  +if (MFEM_USE_CEED)
  + add_dependencies(${MFEM_ALL_TESTS_TARGET_NAME} ceed_tests)
  +endif()
  +
  # Create a test called 'unit_tests' that runs the 'unit_tests' executable.
  # The unit tests can be built and run separately from the rest of the tests:
  # make unit_tests
  @@ -139,6 +156,15 @@ if (MFEM_USE_CUDA)
  add_test(NAME sedov_tests_cuda_uvm COMMAND sedov_tests_cuda_uvm)
  endif()
  +if (MFEM_USE_CEED)
  + add_test(NAME ceed_tests COMMAND ceed_tests)
  + if (MFEM_USE_CUDA)
  + add_test(NAME ceed_tests_cuda_ref COMMAND ceed_tests --device ceed-cuda:/gpu/cuda/ref)
  + add_test(NAME ceed_tests_cuda_shared COMMAND ceed_tests --device ceed-cuda:/gpu/cuda/shared)
  + add_test(NAME ceed_tests_cuda_gen COMMAND ceed_tests --device ceed-cuda:/gpu/cuda/gen)
  + endif()
  +endif()
  +
  # Additional MPI unit tests
  if (MFEM_USE_MPI)
  add_executable(punit_tests punit_test_main.cpp ${UNIT_TESTS_SRCS})
  