diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2014-06-28 05:18:49 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2014-06-28 05:18:49 +0000 |
commit | dc3a2fc6195154a10f5d47fbe3f4e6d3441eaffb (patch) | |
tree | 34584b60248eb8d73af56fdfcf32fa80d7439034 /test | |
parent | fe05f61e5d4325dd354f686bd1a2f4f17527dbfb (diff) | |
download | llvm-dc3a2fc6195154a10f5d47fbe3f4e6d3441eaffb.tar.gz llvm-dc3a2fc6195154a10f5d47fbe3f4e6d3441eaffb.tar.bz2 llvm-dc3a2fc6195154a10f5d47fbe3f4e6d3441eaffb.tar.xz |
Fix this test to not write to the source tree, and instead to write to
a temporary file. This fixes the test in cases where the source tree is
mounted read-only.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211975 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/ExecutionEngine/RuntimeDyld/X86/MachO_x86-64_PIC_relocations.s | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/ExecutionEngine/RuntimeDyld/X86/MachO_x86-64_PIC_relocations.s b/test/ExecutionEngine/RuntimeDyld/X86/MachO_x86-64_PIC_relocations.s index 6c27b62dbf..e87b449bb2 100644 --- a/test/ExecutionEngine/RuntimeDyld/X86/MachO_x86-64_PIC_relocations.s +++ b/test/ExecutionEngine/RuntimeDyld/X86/MachO_x86-64_PIC_relocations.s @@ -1,6 +1,6 @@ -# RUN: llvm-mc -triple=x86_64-apple-macosx10.9 -relocation-model=pic -filetype=obj -o %s.o %s -# RUN: llvm-rtdyld -triple=x86_64-apple-macosx10.9 -verify -check=%s %s.o -# RUN: rm %s.o +# RUN: llvm-mc -triple=x86_64-apple-macosx10.9 -relocation-model=pic -filetype=obj -o %t.o %s +# RUN: llvm-rtdyld -triple=x86_64-apple-macosx10.9 -verify -check=%s %t.o +# RUN: rm %t.o .section __TEXT,__text,regular,pure_instructions .globl foo |