[NFC] Require tests to skip on windows to avoid handling the different
authorChuanqi Xu <yedeng.yd@linux.alibaba.com>
Mon, 16 Jan 2023 03:39:04 +0000 (11:39 +0800)
committerChuanqi Xu <yedeng.yd@linux.alibaba.com>
Mon, 16 Jan 2023 03:48:08 +0000 (11:48 +0800)
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.

clang/test/Driver/module-output.cppm

index 2a9fb55..d3d7070 100644 (file)
@@ -1,3 +1,8 @@
+// It is annoying to handle different 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