tests: allow running tests without valgrind by setting NMTST_NO_VALGRIND
authorThomas Haller <thaller@redhat.com>
Mon, 9 Feb 2015 14:46:15 +0000 (15:46 +0100)
committerThomas Haller <thaller@redhat.com>
Mon, 9 Feb 2015 14:49:58 +0000 (15:49 +0100)
commit95a750e4fa0ca8148b1bf4ec3319f62d00318abe
treef2ba68ece02214d7229b666656cbd327c915c091
parent2981839bdedc5f75d5484e660acf67fa03a61e90
tests: allow running tests without valgrind by setting NMTST_NO_VALGRIND

When configuring with --with-valgrind, tests will be invoked
via valgrind. That significantly slows down the tests. Allow
user to set the environment variable NMTST_NO_VALGRIND to invoke
tests directly, even when valgrind was enabled at configure time.
tools/run-test-valgrind.sh