File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -54,13 +54,11 @@ module X { header "X.h" }
54
54
// RUN: sed -e "s|DIR|%/t|g" %t/cdb_with_a.json.template > %t/cdb_with_a.json
55
55
// RUN: sed -e "s|DIR|%/t|g" %t/cdb_without_a.json.template > %t/cdb_without_a.json
56
56
57
- // RUN: echo -%t > %t/results.json
58
- // RUN: clang-scan-deps -compilation-database %t/cdb_with_a.json -format experimental-full -optimize-args >> %t/results.json
57
+ // RUN: clang-scan-deps -compilation-database %t/cdb_with_a.json -format experimental-full -optimize-args > %t/results.json
59
58
// RUN: clang-scan-deps -compilation-database %t/cdb_without_a.json -format experimental-full -optimize-args >> %t/results.json
60
- // RUN: cat %t/results.json | sed 's/\\/\// g' | FileCheck %s
59
+ // RUN: cat %t/results.json | sed 's:\\\\\?:/: g' | FileCheck %s -DPREFIX=%/t
61
60
62
- // CHECK: -[[PREFIX:.*]]
63
- // CHECK-NEXT: {
61
+ // CHECK: {
64
62
// CHECK-NEXT: "modules": [
65
63
// CHECK-NEXT: {
66
64
// CHECK-NEXT: "clang-module-deps": [
You can’t perform that action at this time.
0 commit comments