Skip to content
Snippets Groups Projects
Commit 2d26f163 authored by Jan Svoboda's avatar Jan Svoboda
Browse files

[clang][modules] Fix failing test

This test started failing on Windows after b45888e9 due to path separators not matching up.
parent 7daed359
No related branches found
No related tags found
No related merge requests found
......@@ -27,7 +27,7 @@ module b {}
//
// RUN: %clang_cc1 -module-file-info %t/cache-without-b/a.pcm | FileCheck %s --check-prefix=CHECK-B
// RUN: %clang_cc1 -module-file-info %t/cache-with-b/a.pcm | FileCheck %s --check-prefix=CHECK-B
// CHECK-B-NOT: Input file: {{.*}}/b.modulemap
// CHECK-B-NOT: Input file: {{.*}}b.modulemap
//--- c.modulemap
module c [no_undeclared_includes] { header "c.h" }
......@@ -54,5 +54,5 @@ module d { header "d.h" }
// The PCM file considers 'd.modulemap' an input because it affects the compilation,
// although it doesn't describe the built module or its imports.
//
// RUN: %clang_cc1 -module-file-info %t/cache/c.pcm | FileCheck %s --check-prefix=CHECK-D -DDIR=%t
// CHECK-D: Input file: [[DIR]]/d.modulemap
// RUN: %clang_cc1 -module-file-info %t/cache/c.pcm | FileCheck %s --check-prefix=CHECK-D
// CHECK-D: Input file: {{.*}}d.modulemap
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment