source: branches/3.1/tools/myval @ 2898

Last change on this file since 2898 was 2898, checked in by Bruno Cornec, 9 years ago

Version 2.2.10 is now 3.1.x

  • Property svn:executable set to *
File size: 1.1 KB
Line 
1#!/bin/bash
2
3# Call valgrind to test mondo
4PTH=$HOME/
5
6sudo valgrind $PTH/pb/projects/mondorescue/build/BUILD/mondo-3.1/src/mondoarchive/mondoarchive -v
7sudo valgrind --log-file=/tmp/val.log --show-reachable=yes --track-origins=yes --leak-check=full $PTH/pb/projects/mondorescue/build/BUILD/mondo-3.1/src/mondoarchive/mondoarchive -K 99 -Oi -I "/etc /var/lib/rpm" -d /home
8sudo valgrind --log-file=/tmp/valg.log --show-reachable=yes --track-origins=yes --leak-check=full $PTH/pb/projects/mondorescue/build/BUILD/mondo-3.1/src/mondoarchive/mondoarchive -K 99 -Oi -g -G -I "/etc /var/lib/rpm"  -E /etc/init.d -d /home
9sudo valgrind --log-file=/tmp/valm.log --tool=massif --heap=yes --stacks=yes --alloc-fn=mr_malloc --massif-out-file=/tmp/valm.out $PTH/pb/projects/mondorescue/build/BUILD/mondo-3.1/src/mondoarchive/mondoarchive -K 99 -Oi -g -G -I "/etc /var/lib/rpm"  -E /etc/init.d -d /home
10sudo valgrind --log-file=/tmp/valc.log --tool=callgrind --callgrind-out-file=/tmp/valc.out $PTH/pb/projects/mondorescue/build/BUILD/mondo-3.1/src/mondoarchive/mondoarchive -K 99 -Oi -g -Y -I "/etc /var/lib/rpm"  -T /tmp -S /var/spool/mondo -E /etc/init.d -d /home
Note: See TracBrowser for help on using the repository browser.