Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
make this test more robust to cruft that may remain on disk
authorMartin Quinson <martin.quinson@ens-rennes.fr>
Sat, 5 Jan 2019 02:04:53 +0000 (03:04 +0100)
committerMartin Quinson <martin.quinson@ens-rennes.fr>
Sat, 5 Jan 2019 02:04:53 +0000 (03:04 +0100)
examples/smpi/ampi/ampi.tesh

index 3cb405a..0c253f3 100644 (file)
@@ -5,6 +5,8 @@
 p Test if the load balancing code gets traced correctly
 ! timeout 60
 
+$ rm -rf ${bindir:=.}/smpi_trace.trace ${bindir:=.}/smpi_trace.trace_files
+
 $ ../../smpi_script/bin/smpirun -trace-ti --cfg=tracing/filename:${bindir:=.}/smpi_trace.trace --cfg=tracing/smpi/format/ti-one-file:yes -no-privatize -replay ${srcdir:=.}/replay/actions_bcast.txt --log=replay.thresh:critical --log=smpi_replay.thresh:verbose --log=no_loc --cfg=smpi/simulate-computation:no -np 3 -platform ${srcdir:=.}/../platforms/small_platform.xml -hostfile ${srcdir:=.}/hostfile ./ampi/smpi_ampi --log=smpi_kernel.thres:warning --log=xbt_cfg.thres:warning --cfg=smpi/wtime:0
 
 $ bash -c "cat ${bindir:=.}/smpi_trace.trace_files/*"
@@ -30,5 +32,4 @@ $ bash -c "cat ${bindir:=.}/smpi_trace.trace_files/*"
 > 2 migrate 400
 > 2 finalize
 
-$ rm -rf ${bindir:=.}/smpi_trace.trace
-$ rm -rf ${bindir:=.}/smpi_trace.trace_files
+$ rm -rf ${bindir:=.}/smpi_trace.trace ${bindir:=.}/smpi_trace.trace_files