makefile: get test name into a variable to be used for test stdout redirection