mirror of
git://sourceware.org/git/valgrind.git
synced 2026-01-12 00:19:31 +08:00
(http://posixtest.sourceforge.net) version 1.5.1, which makes it possible to run the suite on V and conveniently compare results against a native run (using the diff-results script). git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5982
22 lines
272 B
Bash
Executable File
22 lines
272 B
Bash
Executable File
#!/bin/sh
|
|
|
|
usage()
|
|
{
|
|
cat <<EOF
|
|
|
|
Usage: $0 result_file_1 result_file_2
|
|
|
|
EOF
|
|
}
|
|
|
|
if [ $# != 2 ]; then
|
|
usage;
|
|
exit 1;
|
|
else
|
|
echo $1 $2;
|
|
rm -f tmptmp_1 tmptmp_2;
|
|
grep -v GRIND= $1 > tmptmp_1;
|
|
grep -v GRIND= $2 > tmptmp_2;
|
|
diff -U2 tmptmp_1 tmptmp_2;
|
|
fi
|