]> granicus.if.org Git - clang/commit
Start porting ivfsoverlay tests to Windows
authorReid Kleckner <rnk@google.com>
Wed, 11 Sep 2019 20:56:25 +0000 (20:56 +0000)
committerReid Kleckner <rnk@google.com>
Wed, 11 Sep 2019 20:56:25 +0000 (20:56 +0000)
commit1600ea40281ddaf32167956ada2e7cd3462db86a
tree39cc7ea3cf19a954063cb556c8717c712a732300
parent8d3ef3f1fbf730dd5fab3fda91954f76b5a20893
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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@371663 91177308-0d34-0410-b5e6-96231b3b80d8
22 files changed:
test/Index/index-module-with-vfs.m
test/Modules/crash-vfs-ivfsoverlay.m
test/Modules/double-quotes.m
test/Modules/framework-public-includes-private.m
test/VFS/external-names.c
test/VFS/framework-import.m
test/VFS/implicit-include.c
test/VFS/include-mixed-real-and-virtual.c
test/VFS/include-real-from-virtual.c
test/VFS/include-virtual-from-real.c
test/VFS/include.c
test/VFS/incomplete-umbrella.m
test/VFS/module-import.m
test/VFS/module_missing_vfs.m
test/VFS/real-path-found-first.m
test/VFS/relative-path.c
test/VFS/subframework-symlink.m
test/VFS/test_nonmodular.c
test/VFS/umbrella-framework-import-skipnonexist.m
test/VFS/vfsroot-include.c
test/VFS/vfsroot-module.m
test/VFS/vfsroot-with-overlay.c