tests: better handling of 'make failed' when no failed tests