/[escript]/branches/inv2jf/run-escript.in
ViewVC logotype

Diff of /branches/inv2jf/run-escript.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 5448 by jfenwick, Fri Feb 6 05:31:37 2015 UTC revision 5491 by caltinay, Tue Feb 24 06:49:15 2015 UTC
# Line 427  then Line 427  then
427              # run memcheck by default              # run memcheck by default
428              LAST_N=$(ls -1 $LOGDIR|grep "^memcheck"|tail -1|cut -d. -f2)              LAST_N=$(ls -1 $LOGDIR|grep "^memcheck"|tail -1|cut -d. -f2)
429              NEW_N=$(printf "%04d" $((LAST_N + 1)))              NEW_N=$(printf "%04d" $((LAST_N + 1)))
430              LOGFILE=${LOGDIR}/memcheck.${NEW_N}.xml              LOGFILE=${LOGDIR}/memcheck.${NEW_N}.%p.xml
431              VALGRIND="valgrind --tool=memcheck --xml=yes --show-reachable=yes --error-limit=no --gen-suppressions=all --suppressions=$ESCRIPT_ROOT/scripts/escript.supp --leak-check=full --xml-file=$LOGFILE"              VALGRIND="valgrind --tool=memcheck --xml=yes --show-reachable=yes --error-limit=no --suppressions=$ESCRIPT_ROOT/scripts/escript.supp --leak-check=full --xml-file=$LOGFILE"
432              EXEC_CMD="$EXEC_CMD $VALGRIND"              EXEC_CMD="$EXEC_CMD $VALGRIND"
433          fi          fi
434      else      else

Legend:
Removed from v.5448  
changed lines
  Added in v.5491

  ViewVC Help
Powered by ViewVC 1.1.26