r346468 - Fix test from r346439 to also work on Windows due to path separator differences.

Douglas Yung via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 8 18:44:07 PST 2018


Author: dyung
Date: Thu Nov  8 18:44:07 2018
New Revision: 346468

URL: http://llvm.org/viewvc/llvm-project?rev=346468&view=rev
Log:
Fix test from r346439 to also work on Windows due to path separator differences.

Modified:
    cfe/trunk/test/Modules/mismatch-diagnostics.cpp

Modified: cfe/trunk/test/Modules/mismatch-diagnostics.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Modules/mismatch-diagnostics.cpp?rev=346468&r1=346467&r2=346468&view=diff
==============================================================================
--- cfe/trunk/test/Modules/mismatch-diagnostics.cpp (original)
+++ cfe/trunk/test/Modules/mismatch-diagnostics.cpp Thu Nov  8 18:44:07 2018
@@ -17,6 +17,6 @@ export module mismatching_module;
 #ifdef CHECK_MISMATCH
 import mismatching_module;
 // CHECK: error: POSIX thread support was enabled in PCH file but is currently disabled
-// CHECK-NEXT: module file {{.*}}/mismatching_module.pcm cannot be loaded due to a configuration mismatch with the current compilation
+// CHECK-NEXT: module file {{.*[/|\\\\]}}mismatching_module.pcm cannot be loaded due to a configuration mismatch with the current compilation
 #endif
 




More information about the cfe-commits mailing list