Author: Chuanqi Xu
Date: 2023-01-16T11:48:08+08:00
New Revision: 6f2e78195f644f024df5b5167e26bdd56b4c1c2b

URL: 
https://github.com/llvm/llvm-project/commit/6f2e78195f644f024df5b5167e26bdd56b4c1c2b
DIFF: 
https://github.com/llvm/llvm-project/commit/6f2e78195f644f024df5b5167e26bdd56b4c1c2b.diff

LOG: [NFC] Require tests to skip on windows to avoid handling the different
slash in the filesystem

The modified test fails on windows for the diffeent slash direction ('/'
in linux and '/' on windows). The patch requires the test to skip on
windows to avoid such differences.

Added: 
    

Modified: 
    clang/test/Driver/module-output.cppm

Removed: 
    


################################################################################
diff  --git a/clang/test/Driver/module-output.cppm 
b/clang/test/Driver/module-output.cppm
index 2a9fb55f4b66..d3d707061251 100644
--- a/clang/test/Driver/module-output.cppm
+++ b/clang/test/Driver/module-output.cppm
@@ -1,3 +1,8 @@
+// It is annoying to handle 
diff erent slash direction
+// in Windows and Linux. So we disable the test on Windows
+// here.
+// REQUIRES: !system-windows
+//
 // RUN: rm -rf %t
 // RUN: mkdir %t
 // RUN: split-file %s %t


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

Reply via email to