Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Adjust test
[simgrid.git] / teshsuite / smpi / pt2pt-pingpong / broken_hostfiles.tesh
1 ! ignore Aborted \(core dumped\)
2 ! expect return 134
3 $ $VALGRIND_NO_LEAK_CHECK ${bindir:=.}/../../../smpi_script/bin/smpirun -hostfile ../hostfile_empty -quiet -platform ${platfdir:=.}/small_platform.xml -np 4 ${bindir:=.}/pt2pt-pingpong -s --log=smpi_config.thres:warning --log=no_loc
4 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'smpi/privatization' to '1'
5 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'smpi/np' to '4'
6 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'smpi/hostfile' to '../hostfile_empty'
7 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'surf/precision' to '1e-9'
8 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'SMPI'
9 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'smpi/tmpdir' to '/tmp'
10 > [0.000000] [root/CRITICAL] smpirun: the hostfile '../hostfile_empty' is empty
11 > Execution failed with code 134.
12
13 ! expect return 1
14 $ ${bindir:=.}/../../../smpi_script/bin/smpirun -hostfile hostfile-does-not-exist.txt -platform ${platfdir:=.}/small_platform.xml -np 4 ${bindir:=.}/pt2pt-pingpong -s --log=smpi_config.thres:warning
15 > [smpirun] ** error: the file 'hostfile-does-not-exist.txt' does not exist. Aborting.