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

if(NOT ADIOS2_HAVE_MPI)
    python_add_test(NAME PythonBPWriteReadTypes SCRIPT TestBPWriteReadTypes_nompi.py)
endif()

if(ADIOS2_HAVE_MPI)
    set(test_parameters
      EXEC_WRAPPER
      ${MPIEXEC} ${MPIEXEC_NUMPROC_FLAG} ${MPIEXEC_MAX_NUMPROCS})
    python_add_test(NAME PythonBPWriteReadTypes ${test_parameters} 
    				SCRIPT TestBPWriteReadTypes.py)
    python_add_test(NAME PythonBPWriteReadHighLevelAPI ${test_parameters} 
    				SCRIPT TestBPWriteTypesHighLevelAPI.py)
    python_add_test(NAME PythonBPReadMultisteps ${test_parameters} 
    				SCRIPT TestBPReadMultisteps.py)
endif()

if (ADIOS2_HAVE_HDF5)
    python_add_test(NAME PythonBPWriteReadHighLevelAPI_HDF5 
    				SCRIPT TestBPWriteTypesHighLevelAPI_HDF5.py)
endif()<commit_msg>only call test from MPI builds<commit_after>#------------------------------------------------------------------------------#
# Distributed under the OSI-approved Apache License, Version 2.0.  See
# accompanying file Copyright.txt for details.
#------------------------------------------------------------------------------#

if(NOT ADIOS2_HAVE_MPI)
    python_add_test(NAME PythonBPWriteReadTypes SCRIPT TestBPWriteReadTypes_nompi.py)
endif()

if(ADIOS2_HAVE_MPI)
    set(test_parameters
      EXEC_WRAPPER
      ${MPIEXEC} ${MPIEXEC_NUMPROC_FLAG} ${MPIEXEC_MAX_NUMPROCS})
    python_add_test(NAME PythonBPWriteReadTypes ${test_parameters} 
                    SCRIPT TestBPWriteReadTypes.py)
    python_add_test(NAME PythonBPWriteReadHighLevelAPI ${test_parameters} 
                    SCRIPT TestBPWriteTypesHighLevelAPI.py)
    python_add_test(NAME PythonBPReadMultisteps ${test_parameters} 
                    SCRIPT TestBPReadMultisteps.py)
    if (ADIOS2_HAVE_HDF5)
        python_add_test(NAME PythonBPWriteReadHighLevelAPI_HDF5 
                        SCRIPT TestBPWriteTypesHighLevelAPI_HDF5.py)
    endif(ADIOS2_HAVE_HDF5)
endif()

{'fraction_non_alphanumeric': 0.19899589228662712, 'fraction_numerical': 0.008215426745778184, 'mean_word_length': 2.3212121212121213, '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': '3008949', 'n_tokens_mistral': 692, 'n_tokens_neox': 636, 'n_words': 106}