makefile: suppress valgrind output; redirect test output to tmp file; call build_cmd on test to suppress valgrind command line