Author: Jan Svoboda
Date: 2022-03-07T11:21:21+01:00
New Revision: 2d26f163f60ea4a466584a2347ccc09fc1595c76

URL: 
https://github.com/llvm/llvm-project/commit/2d26f163f60ea4a466584a2347ccc09fc1595c76
DIFF: 
https://github.com/llvm/llvm-project/commit/2d26f163f60ea4a466584a2347ccc09fc1595c76.diff

LOG: [clang][modules] Fix failing test

This test started failing on Windows after 
b45888e959ad2d6562b8d321166e6387facdd412 due to path separators not matching up.

Added: 
    

Modified: 
    clang/test/Modules/add-remove-irrelevant-module-map.m

Removed: 
    


################################################################################
diff  --git a/clang/test/Modules/add-remove-irrelevant-module-map.m 
b/clang/test/Modules/add-remove-irrelevant-module-map.m
index c0b081d8b52d0..25c45a4cd6eb9 100644
--- a/clang/test/Modules/add-remove-irrelevant-module-map.m
+++ b/clang/test/Modules/add-remove-irrelevant-module-map.m
@@ -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" }
@@ -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


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to