re: runtest: Add an option to run the tests with valgrind
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
Hello Dan, 2008/5/26 Dan Kegel <dank(a)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. Cheers, Maarten.
participants (2)
-
Dan Kegel -
Maarten Lankhorst