runtest: Add an option to run the tests with valgrind
m.b.lankhorst at gmail.com
Tue May 27 11:32:22 CDT 2008
2008/5/26 Dan Kegel <dank at kegel.com>:
> Maarten wrote:
>> Usage: make test RUNTEST="$WINE_GIT/tools/runtest -V" VALGRIND_OPTS="..."
> That seems clumsier offhand than how I've been doing it,
> RUNTEST_USE_VALGRIND=1 make test
Well, VALGRIND_OPTS is an environment variable. If you look at
valgrind's --help message, you'll see:
"Extra options read from ~/.valgrindrc, $VALGRIND_OPTS, ./.valgrindrc"
Alternatively I can add an option so that 'make test' will add the -V
something like: (make test VALGRIND=valgrind VALGRIND_OPTS="..."). But
I'm open for suggestions on what is the best approach.
More information about the wine-devel