teshsuite/smpi/bcast/bcast_coll
teshsuite/smpi/compute/compute2
teshsuite/smpi/compute/compute3
-teshsuite/smpi/pingpong/broken_hostfiles.tesh
teshsuite/smpi/pingpong/dsend
-teshsuite/smpi/pingpong/empty-hostfile.txt
teshsuite/smpi/pingpong/tmpkkndqe
teshsuite/smpi/reduce/reduce_coll
teshsuite/smpi/reduce/reduce_scatter_coll
### SMPI ###
IF(enable_smpi)
# BEGIN TESH TESTS
+ # smpi broken usage
+ ADD_TESH_FACTORIES(tesh-smpi-broken "thread" --setenv bindir=${CMAKE_BINARY_DIR}/teshsuite/smpi/pingpong --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/smpi/pingpong broken_hostfiles.tesh)
# smpi examples
ADD_TESH_FACTORIES(tesh-smpi-bcast "thread;ucontext;raw" --setenv bindir=${CMAKE_BINARY_DIR}/teshsuite/smpi/bcast --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/smpi/bcast bcast.tesh)
ADD_TESH_FACTORIES(tesh-smpi-reduce "thread;ucontext;raw" --setenv bindir=${CMAKE_BINARY_DIR}/teshsuite/smpi/reduce --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/smpi/reduce reduce.tesh)
${tesh_files}
${CMAKE_CURRENT_SOURCE_DIR}/pt2pt.tesh
${CMAKE_CURRENT_SOURCE_DIR}/TI_output.tesh
+ ${CMAKE_CURRENT_SOURCE_DIR}/broken_hostfiles.tesh
+
PARENT_SCOPE
)
set(xml_files
)
set(txt_files
${txt_files}
+ ${CMAKE_CURRENT_SOURCE_DIR}/empty-hostfile.txt
PARENT_SCOPE
)
--- /dev/null
+! setenv LD_LIBRARY_PATH=../../lib
+! expect return 1
+$ ${bindir:=.}/../../../bin/smpirun -hostfile empty-hostfile.txt -platform ../../../examples/msg/small_platform.xml -np 4 ${bindir:=.}/pingpong -q --log=smpi_kernel.thres:warning
+> [smpirun] ** error: the hostfile 'empty-hostfile.txt' is empty. Aborting.
+
+! expect return 1
+$ ${bindir:=.}/../../../bin/smpirun -hostfile hostfile-does-not-exist.txt -platform ../../../examples/msg/small_platform.xml -np 4 ${bindir:=.}/pingpong -q --log=smpi_kernel.thres:warning
+> [smpirun] ** error: the file 'hostfile-does-not-exist.txt' does not exist. Aborting.