#243 Permit testing sans Valgrind
Merged by rharwood. Opened by cipherboy.
cipherboy/gssproxy fix-valgrindless  into  master

Download 243.patch

Only run the check_exec on Valgrind when present as the prefix to the
--valgrind-cmd argument. This lets us run the test suite without
Valgrind via:

./tests/runtests.py --valgrind-cmd ""

Signed-off-by: Alexander Scheel <ascheel@redhat.com>

As a nice side effect too, if the user specifies an explicit path or an otherwise non-standard name, we assume they know what they're doing. But if they're just providing additional args, we still sanity check that Valgrind exists on the path.

To clarify: you can already run the test suite without Valgrind this way -- this just skips the check_exec so you can run the test suite without Valgrind installed.

Commit f91e23f8 fixes this pull-request

Pull-Request has been merged by rharwood

Metadata