kcc added a comment. nope. this way the test will race with other tests that will create sancov files in $PWD The test as is is also not very good. Instead of BUILDDIR it should be using ASAN_OPTIONS=coverage_dir=PATH or some such https://reviews.llvm.org/D29532