diff --git a/test/tools/llvm-cov/llvm-cov.test b/test/tools/llvm-cov/llvm-cov.test index 0357b2146b5..62dd93d6be6 100644 --- a/test/tools/llvm-cov/llvm-cov.test +++ b/test/tools/llvm-cov/llvm-cov.test @@ -1,6 +1,10 @@ +# "cd" and globbing are unsupported in lit internal runner. REQUIRES: shell -RUN: rm -f test.* +RUN: rm -rf %t +RUN: mkdir %t +RUN: cd %t RUN: cp %p/Inputs/test.* . + RUN: llvm-cov -gcno=test.gcno -gcda=test.gcda RUN: diff -aub test.cpp.gcov test.cpp.llcov RUN: rm test.cpp.llcov