Add support for run-pass-valgrind tests

r? @alexcrichton