Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[TESTS] Use platfdir, srcdir and bindir for more smpi tests
[simgrid.git] / examples / smpi / trace_call_location / trace_call_location.tesh
1 # use the tested library, not the installed one
2 # (since we want to pass it to the child, it has to be redefined before each command)
3 # Go for the first test
4
5 p Test SMPI with call-location tracing. This means that the binary must have
6 p already been compiled with the -trace-call-location switch.
7 $ ${bindir:=.}/../../../smpi_script/bin/smpirun -trace -trace-file ${bindir:=.}/smpi_trace.trace -hostfile ${srcdir:=.}/hostfile -platform ${platfdir}/small_platform.xml --cfg=smpi/trace-call-location:1 -np 3 ${bindir:=.}/smpi_trace_call_location --cfg=smpi/host-speed:-1 --log=smpi_kernel.thres:warning --log=xbt_cfg.thres:warning
8
9 $ grep --quiet "12 0.* 2 1 5 .*trace_call_location\.c\" 14$" ${bindir:=.}/smpi_trace.trace 
10
11 $ rm -f ${bindir:=.}/smpi_trace.trace