summaryrefslogtreecommitdiffstats
path: root/clang/test/VFS/framework-import.m
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2019-09-11 20:56:25 +0000
committerReid Kleckner <rnk@google.com>2019-09-11 20:56:25 +0000
commita685f5161db97695e1a2bdda39cbdcb3f228f1d6 (patch)
tree50c302f1a0f0254d9c69a60550395b41448fc670 /clang/test/VFS/framework-import.m
parent393b4eac495575f2327dc62f58b18593b4867f00 (diff)
downloadbcm5719-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/framework-import.m')
-rw-r--r--clang/test/VFS/framework-import.m6
1 files changed, 4 insertions, 2 deletions
diff --git a/clang/test/VFS/framework-import.m b/clang/test/VFS/framework-import.m
index b40bc549c0a..a6cdc3effb3 100644
--- a/clang/test/VFS/framework-import.m
+++ b/clang/test/VFS/framework-import.m
@@ -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 -F %t -ivfsoverlay %t.yaml -fsyntax-only %s
-// REQUIRES: shell
+
+// FIXME: PR43272
+// XFAIL: windows
#import <SomeFramework/public_header.h>
OpenPOWER on IntegriCloud