2016-09-23 05:49:43 +08:00
|
|
|
RUN: mkdir -p %t/a/b/
|
|
|
|
RUN: echo "" > %t/a/b/c.tmp
|
|
|
|
RUN: echo "" > %t/a/d.tmp
|
|
|
|
|
2016-09-24 02:57:32 +08:00
|
|
|
RUN: llvm-cov show /dev/null -instr-profile /dev/null -dump-collected-paths %t | FileCheck %s --check-prefix=REAL
|
|
|
|
RUN: llvm-cov show /dev/null -instr-profile /dev/null -dump-collected-paths %t/a/b/c.tmp %t/a/d.tmp | FileCheck %s --check-prefix=REAL
|
2016-09-23 05:49:43 +08:00
|
|
|
|
2016-09-24 02:57:32 +08:00
|
|
|
REAL-DAG: {{.*}}c.tmp
|
|
|
|
REAL-DAG: {{.*}}d.tmp
|
|
|
|
|
2017-08-14 18:20:12 +08:00
|
|
|
// NEEDS FIX.
|
|
|
|
RUN: llvm-cov show /dev/null -instr-profile /dev/null -dump-collected-paths -path-equivalence=%t,%S %t a b c d e f | FileCheck %s --check-prefix=EQUIV
|
2016-09-24 02:57:32 +08:00
|
|
|
EQUIV-DAG: {{.*}}c.tmp
|
|
|
|
EQUIV-DAG: {{.*}}d.tmp
|
|
|
|
EQUIV-DAG: a
|
|
|
|
EQUIV-DAG: b
|
|
|
|
EQUIV-DAG: c
|
|
|
|
EQUIV-DAG: d
|
|
|
|
EQUIV-DAG: e
|
|
|
|
EQUIV-DAG: f
|