mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-19 04:28:20 +00:00
Further fix to llvm-cov test.
It turns out that in some build systems, tests are executed in a non-writable directory. Hopefully, this finally fixes the issue. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196256 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1,6 +1,10 @@
|
|||||||
|
# "cd" and globbing are unsupported in lit internal runner.
|
||||||
REQUIRES: shell
|
REQUIRES: shell
|
||||||
RUN: rm -f test.*
|
RUN: rm -rf %t
|
||||||
|
RUN: mkdir %t
|
||||||
|
RUN: cd %t
|
||||||
RUN: cp %p/Inputs/test.* .
|
RUN: cp %p/Inputs/test.* .
|
||||||
|
|
||||||
RUN: llvm-cov -gcno=test.gcno -gcda=test.gcda
|
RUN: llvm-cov -gcno=test.gcno -gcda=test.gcda
|
||||||
RUN: diff -aub test.cpp.gcov test.cpp.llcov
|
RUN: diff -aub test.cpp.gcov test.cpp.llcov
|
||||||
RUN: rm test.cpp.llcov
|
RUN: rm test.cpp.llcov
|
||||||
|
Reference in New Issue
Block a user