XFAIL a test on Windows
authorFangrui Song <i@maskray.me>
Wed, 27 Nov 2019 03:52:15 +0000 (19:52 -0800)
committerFangrui Song <maskray@google.com>
Wed, 27 Nov 2019 03:55:50 +0000 (19:55 -0800)
http://45.33.8.238/win/3052/step_6.txt

C:\src\llvm-project\clang\test\Preprocessor\file_test.c:9:11: error: CHECK: expected string not found in input
// CHECK: filename: "/UNLIKELY_PATH/empty{{/|\\\\}}file_test.c"
          ^
<stdin>:1:1: note: scanning from here
^
<stdin>:1:28: note: possible intended match here
                           ^

clang/test/Preprocessor/file_test.c

index 09ae48f..3788db6 100644 (file)
@@ -1,3 +1,4 @@
+// XFAIL: system-windows
 // RUN: %clang -E -ffile-prefix-map=%p=/UNLIKELY_PATH/empty -c -o - %s | FileCheck %s
 // RUN: %clang -E -fmacro-prefix-map=%p=/UNLIKELY_PATH/empty -c -o - %s | FileCheck %s
 // RUN: %clang -E -fmacro-prefix-map=%p=/UNLIKELY_PATH=empty -c -o - %s | FileCheck %s -check-prefix CHECK-EVIL