forked from OSchip/llvm-project
[clang][deps] NFC: Fix an XFAIL test on Windows
The `sed` command ensures Windows-specific path separators (single and double backslashes) are replaced by forward slashes in the output file. FileCheck can continue using forward slashes in paths this way.
This commit is contained in:
parent
88e4aae57d
commit
f39dcf85f9
|
@ -13,26 +13,23 @@
|
||||||
// RUN: echo %t.dir > %t.result
|
// RUN: echo %t.dir > %t.result
|
||||||
// RUN: clang-scan-deps -compilation-database %t.cdb -j 4 -format experimental-full \
|
// RUN: clang-scan-deps -compilation-database %t.cdb -j 4 -format experimental-full \
|
||||||
// RUN: -mode preprocess-minimized-sources >> %t.result
|
// RUN: -mode preprocess-minimized-sources >> %t.result
|
||||||
// RUN: cat %t.result | sed 's/\\/\//g' | FileCheck --check-prefixes=CHECK,CHECK-NO-ABS %s
|
// RUN: cat %t.result | sed 's:\\\\\?:/:g' | FileCheck --check-prefixes=CHECK,CHECK-NO-ABS %s
|
||||||
//
|
//
|
||||||
// RUN: echo %t.dir > %t.result
|
// RUN: echo %t.dir > %t.result
|
||||||
// RUN: clang-scan-deps -compilation-database %t.cdb -j 4 -format experimental-full \
|
// RUN: clang-scan-deps -compilation-database %t.cdb -j 4 -format experimental-full \
|
||||||
// RUN: -generate-modules-path-args -mode preprocess-minimized-sources >> %t.result
|
// RUN: -generate-modules-path-args -mode preprocess-minimized-sources >> %t.result
|
||||||
// RUN: cat %t.result | sed 's/\\/\//g' | FileCheck --check-prefixes=CHECK,CHECK-ABS %s
|
// RUN: cat %t.result | sed 's:\\\\\?:/:g' | FileCheck --check-prefixes=CHECK,CHECK-ABS %s
|
||||||
//
|
//
|
||||||
// RUN: echo %t.dir > %t.result
|
// RUN: echo %t.dir > %t.result
|
||||||
// RUN: clang-scan-deps -compilation-database %t.cdb -j 4 -format experimental-full \
|
// RUN: clang-scan-deps -compilation-database %t.cdb -j 4 -format experimental-full \
|
||||||
// RUN: -generate-modules-path-args -module-files-dir %t.dir/custom \
|
// RUN: -generate-modules-path-args -module-files-dir %t.dir/custom \
|
||||||
// RUN: -mode preprocess-minimized-sources >> %t.result
|
// RUN: -mode preprocess-minimized-sources >> %t.result
|
||||||
// RUN: cat %t.result | sed 's/\\/\//g' | FileCheck --check-prefixes=CHECK,CHECK-CUSTOM %s
|
// RUN: cat %t.result | sed 's:\\\\\?:/:g' | FileCheck --check-prefixes=CHECK,CHECK-CUSTOM %s
|
||||||
//
|
//
|
||||||
// RUN: echo %t.dir > %t_clangcl.result
|
// RUN: echo %t.dir > %t_clangcl.result
|
||||||
// RUN: clang-scan-deps -compilation-database %t_clangcl.cdb -j 4 -format experimental-full \
|
// RUN: clang-scan-deps -compilation-database %t_clangcl.cdb -j 4 -format experimental-full \
|
||||||
// RUN: -mode preprocess-minimized-sources >> %t_clangcl.result
|
// RUN: -mode preprocess-minimized-sources >> %t_clangcl.result
|
||||||
// RUN: cat %t_clangcl.result | sed 's/\\/\//g' | FileCheck --check-prefixes=CHECK,CHECK-NO-ABS %s
|
// RUN: cat %t_clangcl.result | sed 's:\\\\\?:/:g' | FileCheck --check-prefixes=CHECK,CHECK-NO-ABS %s
|
||||||
|
|
||||||
// FIXME: Backslash issues.
|
|
||||||
// XFAIL: system-windows
|
|
||||||
|
|
||||||
#include "header.h"
|
#include "header.h"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue