diff options
| author | Reid Kleckner <rnk@google.com> | 2019-09-11 20:56:25 +0000 |
|---|---|---|
| committer | Reid Kleckner <rnk@google.com> | 2019-09-11 20:56:25 +0000 |
| commit | a685f5161db97695e1a2bdda39cbdcb3f228f1d6 (patch) | |
| tree | 50c302f1a0f0254d9c69a60550395b41448fc670 /clang/test/VFS/implicit-include.c | |
| parent | 393b4eac495575f2327dc62f58b18593b4867f00 (diff) | |
| download | bcm5719-llvm-a685f5161db97695e1a2bdda39cbdcb3f228f1d6.tar.gz bcm5719-llvm-a685f5161db97695e1a2bdda39cbdcb3f228f1d6.zip | |
Start porting ivfsoverlay tests to Windows
Part of PR43272, the changes are:
1. Use @ as the sed pattern delimiter instead of : so that the drive
letter in lit substitutions isn't an issue.
2. Use the %/t and %/S substitutions to get paths with forward slashes
to work around string quoting issues in the yaml file.
3. Replace REQUIRES:shell with XFAIL:windows. These tests should pass on
Windows, but do not for reasons that are not yet understood. We would
like to know if they pass unexpectedly.
I was able to remove the XFAILs from two tests, since they already pass
with my sed fix:
clang/test/VFS/module_missing_vfs.m
clang/test/VFS/test_nonmodular.c
Reviewers: amccarth
Differential Revision: https://reviews.llvm.org/D67454
llvm-svn: 371663
Diffstat (limited to 'clang/test/VFS/implicit-include.c')
| -rw-r--r-- | clang/test/VFS/implicit-include.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/clang/test/VFS/implicit-include.c b/clang/test/VFS/implicit-include.c index acf665bee24..682dbea42ce 100644 --- a/clang/test/VFS/implicit-include.c +++ b/clang/test/VFS/implicit-include.c @@ -1,6 +1,8 @@ -// RUN: sed -e "s:INPUT_DIR:%S/Inputs:g" -e "s:OUT_DIR:%t:g" %S/Inputs/vfsoverlay.yaml > %t.yaml +// RUN: sed -e "s@INPUT_DIR@%/S/Inputs@g" -e "s@OUT_DIR@%/t@g" %S/Inputs/vfsoverlay.yaml > %t.yaml // RUN: %clang_cc1 -Werror -ivfsoverlay %t.yaml -I %t -include "not_real.h" -fsyntax-only %s -// REQUIRES: shell + +// FIXME: PR43272 +// XFAIL: windows void foo() { bar(); |

