[Pcre-svn] [1173] code/trunk/RunTest: tests: Revert change t…

Startseite
Nachricht löschen
Autor: Subversion repository
Datum:  
To: pcre-svn
Betreff: [Pcre-svn] [1173] code/trunk/RunTest: tests: Revert change to how valgrind is run
Revision: 1173
          http://vcs.pcre.org/viewvc?view=rev&revision=1173
Author:   chpe
Date:     2012-10-24 19:14:10 +0100 (Wed, 24 Oct 2012)


Log Message:
-----------
tests: Revert change to how valgrind is run

Use -q and don't keep a log file.

Modified Paths:
--------------
    code/trunk/RunTest


Modified: code/trunk/RunTest
===================================================================
--- code/trunk/RunTest    2012-10-24 16:41:07 UTC (rev 1172)
+++ code/trunk/RunTest    2012-10-24 18:14:10 UTC (rev 1173)
@@ -22,8 +22,8 @@
 # possible to select which to test by the arguments -8, -16 or -32.
 #
 # Other arguments for this script can be individual test numbers, or the word
-# "valgrind", or "sim" followed by an argument to run cross-compiled
-# executables under a simulator, for example:
+# "valgrind", "valgrind-log" or "sim" followed by an argument to run cross-
+# compiled executables under a simulator, for example:
 #
 # RunTest 3 sim "qemu-arm -s 8388608"
 #
@@ -221,7 +221,8 @@
    -8) arg8=yes;;
   -16) arg16=yes;;
   -32) arg32=yes;;
-   valgrind) valgrind="valgrind --tool=memcheck --num-callers=30 --leak-check=no --error-limit=no --smc-check=all --log-file=report.%p ";;
+   valgrind) valgrind="valgrind --tool=memcheck -q --smc-check=all";;
+   valgrind-log) valgrind="valgrind --tool=memcheck --num-callers=30 --leak-check=no --error-limit=no --smc-check=all --log-file=report.%p ";;
    sim) shift; sim=$1;;
     *) echo "Unknown test number '$1'"; exit 1;;
   esac