<commit_before>#------------------------------------------------------------------------------#
# Distributed under the OSI-approved Apache License, Version 2.0.  See
# accompanying file Copyright.txt for details.
#------------------------------------------------------------------------------#

if(ADIOS2_HAVE_Table)
  gtest_add_tests_helper(MultiRank "${ADIOS2_HAVE_MPI}" Table Engine.Table. "")

  add_executable(Test.Engine.Table.SingleRank TestTableSingleRank.cpp)
  target_link_libraries(Test.Engine.Table.SingleRank adios2 gtest)
  if(ADIOS2_HAVE_MPI)
    target_link_libraries(Test.Engine.Table.SingleRank MPI::MPI_C)
  endif()
  gtest_add_tests(TARGET Test.Engine.Table.SingleRank
    TEST_PREFIX Engine.Table.
    EXEC_WRAPPER
      ${MPIEXEC_EXECUTABLE} ${MPIEXEC_EXTRA_FLAGS} ${MPIEXEC_NUMPROC_FLAG} 1
  )<commit_msg>Only run the multi-process table tests when mpi is enabled.<commit_after>#------------------------------------------------------------------------------#
# Distributed under the OSI-approved Apache License, Version 2.0.  See
# accompanying file Copyright.txt for details.
#------------------------------------------------------------------------------#

gtest_add_tests_helper(SingleRank FALSE Table Engine.Table. "")

if(ADIOS2_HAVE_MPI)
  gtest_add_tests_helper(MultiRank "${ADIOS2_HAVE_MPI}" Table Engine.Table. "")
{'fraction_non_alphanumeric': 0.30734966592427615, 'fraction_numerical': 0.008166295471417966, 'mean_word_length': 1.8989247311827957, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5703373', 'n_tokens_mistral': 382, 'n_tokens_neox': 362, 'n_words': 71}