Skip to content

Commit

Permalink
[clang][modules] Fix failing test
Browse files Browse the repository at this point in the history
This test started failing on Windows after b45888e due to path separators not matching up.
  • Loading branch information
jansvoboda11 committed Mar 7, 2022
1 parent 7daed35 commit 2d26f16
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions clang/test/Modules/add-remove-irrelevant-module-map.m
Expand Up @@ -27,7 +27,7 @@
//
// 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" }
Expand All @@ -54,5 +54,5 @@
// 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 comments on commit 2d26f16

Please sign in to comment.