diff options
author | Vedant Kumar <vsk@apple.com> | 2016-06-29 21:55:46 +0000 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2016-06-29 21:55:46 +0000 |
commit | d6d192cd12db3a813e7e70d0ed579093b71277d1 (patch) | |
tree | 6ecfd82d84595b63f9a69fd67feee0cd65642ce9 /llvm/test/tools/llvm-cov/double_dots.c | |
parent | 30ece958dbf3f5a97f0282da49b125e04657288d (diff) | |
download | bcm5719-llvm-d6d192cd12db3a813e7e70d0ed579093b71277d1.tar.gz bcm5719-llvm-d6d192cd12db3a813e7e70d0ed579093b71277d1.zip |
[llvm-cov] Use relative paths to file reports in -output-dir mode
This makes it possible to e.g copy a report to another filesystem.
llvm-svn: 274173
Diffstat (limited to 'llvm/test/tools/llvm-cov/double_dots.c')
-rw-r--r-- | llvm/test/tools/llvm-cov/double_dots.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-cov/double_dots.c b/llvm/test/tools/llvm-cov/double_dots.c index a9c47a4aac8..47224bf9ade 100644 --- a/llvm/test/tools/llvm-cov/double_dots.c +++ b/llvm/test/tools/llvm-cov/double_dots.c @@ -9,3 +9,9 @@ // CHECK-NOT: coverage{{.*}}dots{{.*}}..{{.*}}dots int main() {} + +// Re-purpose this file to test that we use relative paths when creating +// report indices: + +// RUN: FileCheck -check-prefix=REL-INDEX -input-file %t.dir/index.txt %s +// REL-INDEX-NOT: %t.dir |