diff options
-rw-r--r-- | llvm/test/tools/dsymutil/X86/accelerator.test | 4 | ||||
-rw-r--r-- | llvm/test/tools/dsymutil/X86/update-one-CU.test | 3 | ||||
-rw-r--r-- | llvm/test/tools/dsymutil/X86/update.test | 3 |
3 files changed, 8 insertions, 2 deletions
diff --git a/llvm/test/tools/dsymutil/X86/accelerator.test b/llvm/test/tools/dsymutil/X86/accelerator.test index 96fc58ee568..906b0e645cf 100644 --- a/llvm/test/tools/dsymutil/X86/accelerator.test +++ b/llvm/test/tools/dsymutil/X86/accelerator.test @@ -1,3 +1,7 @@ +UNSUPPORTED: system-windows +Windows does not like renaming files that have open handles to them. We +need to use TempFile::keep to move them in a portable way. + RUN: dsymutil -accelerator=Dwarf -oso-prepend-path=%p/.. %p/../Inputs/basic.macho.x86_64 -o %t.dwarf.dSYM RUN: dsymutil -accelerator=Apple -oso-prepend-path=%p/.. %p/../Inputs/basic.macho.x86_64 -o %t.apple.dSYM diff --git a/llvm/test/tools/dsymutil/X86/update-one-CU.test b/llvm/test/tools/dsymutil/X86/update-one-CU.test index 0759334a62e..5d36ce7135f 100644 --- a/llvm/test/tools/dsymutil/X86/update-one-CU.test +++ b/llvm/test/tools/dsymutil/X86/update-one-CU.test @@ -1,5 +1,6 @@ UNSUPPORTED: system-windows -Remove UNSUPPORTED once we figure out why this fails on Windows. +Windows does not like renaming files that have open handles to them. We +need to use TempFile::keep to move them in a portable way. RUN: dsymutil -oso-prepend-path=%p/.. %p/../Inputs/objc.macho.x86_64 -o %t.dSYM RUN: dsymutil -update %t.dSYM diff --git a/llvm/test/tools/dsymutil/X86/update.test b/llvm/test/tools/dsymutil/X86/update.test index 93e9b3617a6..cbfff63d6a8 100644 --- a/llvm/test/tools/dsymutil/X86/update.test +++ b/llvm/test/tools/dsymutil/X86/update.test @@ -1,5 +1,6 @@ UNSUPPORTED: system-windows -Remove UNSUPPORTED once we figure out why this fails on Windows. +Windows does not like renaming files that have open handles to them. We +need to use TempFile::keep to move them in a portable way. RUN: rm -rf %t.dir RUN: mkdir -p %t.dir |