test-suite: update extrae test
@@ -23,19 +23,36 @@ unset OMP_NUM_THREADS
flunk "mpi_ping binary does not exist"
fi
+ rm -f TRACE.mpits
+ rm -f mpi_ping.prv
+ rm -rf set-0
+
run_mpi_binary "./tracef.sh ./mpi_ping" "" $NODES $TASKS
assert_success
run ls mpi_ping.prv
assert_success
- rm -rf ping* set-0
}
@test "[Extrae] Parallel trace merge runs under resource manager ($rm/$LMOD_FAMILY_COMPILER/$LMOD_FAMILY_MPI)" {
- run_mpi_binary "mpimpi2prv -syn -f TRACE.mpits -o trace.prv" "" $NODES $TASKS
+ run ls TRACE.mpits
+ assert_success
+
+ rm -f job.out
+
+ run_mpi_binary -o "job.out" "mpimpi2prv -syn -f TRACE.mpits -o trace.prv" "" $NODES $TASKS
assert_success
+ run ls trace.prv
+ assert_success
+
+ run tail -1 job.out
+ assert_output "mpi2prv: Congratulations! trace.prv has been generated."
+
+ rm -rf profile*
rm -rf *prv *row *pcf TRACE.*
+ rm -rf set-0
+
}
