[clang] 82b4dc0 - XFAIL a test on Windows

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 26 19:56:57 PST 2019


Author: Fangrui Song
Date: 2019-11-26T19:55:50-08:00
New Revision: 82b4dc0256d4ef27692308392766b2970249d9cf

URL: https://github.com/llvm/llvm-project/commit/82b4dc0256d4ef27692308392766b2970249d9cf
DIFF: https://github.com/llvm/llvm-project/commit/82b4dc0256d4ef27692308392766b2970249d9cf.diff

LOG: XFAIL a test on Windows

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
                           ^

Added: 
    

Modified: 
    clang/test/Preprocessor/file_test.c

Removed: 
    


################################################################################
diff  --git a/clang/test/Preprocessor/file_test.c b/clang/test/Preprocessor/file_test.c
index 09ae48f48e09..3788db6eb090 100644
--- a/clang/test/Preprocessor/file_test.c
+++ b/clang/test/Preprocessor/file_test.c
@@ -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


        


More information about the cfe-commits mailing list