include teshsuite/smpi/MBI/CollP2PMatchingGenerator.py
include teshsuite/smpi/MBI/CollP2PMessageRaceGenerator.py
include teshsuite/smpi/MBI/CollTopoGenerator.py
+include teshsuite/smpi/MBI/InputHazardGenerator.py
include teshsuite/smpi/MBI/MBI.py
include teshsuite/smpi/MBI/MBIutils.py
include teshsuite/smpi/MBI/MissingWaitandStartGenerator.py
include teshsuite/smpi/MBI/P2PArgGenerator.py
+include teshsuite/smpi/MBI/P2PBufferingGenerator.py
include teshsuite/smpi/MBI/P2PComGenerator.py
include teshsuite/smpi/MBI/P2PInvalidComGenerator.py
include teshsuite/smpi/MBI/P2PLocalConcurrencyGenerator.py
include teshsuite/smpi/MBI/P2PMatchingANYSRCGenerator.py
include teshsuite/smpi/MBI/P2PMatchingGenerator.py
+include teshsuite/smpi/MBI/P2PMessageRaceGenerator.py
+include teshsuite/smpi/MBI/P2PMessageRaceTagsGenerator.py
include teshsuite/smpi/MBI/P2PProbeGenerator.py
+include teshsuite/smpi/MBI/P2PSendrecvArgGenerator.py
include teshsuite/smpi/MBI/RMAArgGenerator.py
include teshsuite/smpi/MBI/RMAInvalidArgGenerator.py
include teshsuite/smpi/MBI/RMALocalLocalConcurrencyGenerator.py
include teshsuite/smpi/MBI/RMAP2PGlobalConcurrencyGenerator.py
+include teshsuite/smpi/MBI/RMAP2PLocalConcurrencyGenerator.py
include teshsuite/smpi/MBI/RMARemoteLocalConcurrencyGenerator.py
include teshsuite/smpi/MBI/RMARemoteRemoteConcurrencyGenerator.py
include teshsuite/smpi/MBI/RMAReqLifecycleGenerator.py
# Only the python scripts are embeeded in the archive, and the C test files are generated at config time using these scripts.
# These python scripts are copied over from the MBI repository with as little changes as possible.
+file(GLOB generator_scripts *Generator.py)
+
if (enable_smpi_MBI_testsuite)
if (NOT enable_smpi)
message(FATAL_ERROR "MBI test suite cannot be enabled without SMPI. Please change either setting.")
file(REMOVE_RECURSE ${CMAKE_BINARY_DIR}/MBI/tmp)
file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/MBI/tmp)
file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/generator_utils.py DESTINATION ${CMAKE_BINARY_DIR}/MBI/tmp)
- file(GLOB generator_scripts *Generator.py)
foreach (script ${generator_scripts})
message(STATUS " $ ${CMAKE_CURRENT_SOURCE_DIR}/${script}")
execute_process(COMMAND ${PYTHON_EXECUTABLE} ${script}
message(FATAL_ERROR "Command failed with status: ${status}")
endif()
endforeach()
- unset(generator_scripts)
set(CMAKE_C_COMPILER "${CMAKE_BINARY_DIR}/smpi_script/bin/smpicc")
set(CMAKE_CXX_COMPILER "${CMAKE_BINARY_DIR}/smpi_script/bin/smpicxx")
# Add the needed files to the distribution
foreach(script ${generator_scripts})
- set(teshsuite_src ${teshsuite_src} ${CMAKE_CURRENT_SOURCE_DIR}/${script})
+ set(teshsuite_src ${teshsuite_src} ${script})
endforeach()
set(teshsuite_src ${teshsuite_src}