use xargs to exit non-zero if test failed, rm build for test