summaryrefslogtreecommitdiffstats
path: root/llvm/test/ExecutionEngine
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-06-28 05:18:49 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-06-28 05:18:49 +0000
commitd5821f36d94523ac7711b983fc6b433e954497e0 (patch)
tree6efe5ec733bd2ba576d1cb193722aa0cf4f03b2e /llvm/test/ExecutionEngine
parent887c2c3482cf002a2057ddc18c23554ffa57af4a (diff)
downloadbcm5719-llvm-d5821f36d94523ac7711b983fc6b433e954497e0.tar.gz
bcm5719-llvm-d5821f36d94523ac7711b983fc6b433e954497e0.zip
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. llvm-svn: 211975
Diffstat (limited to 'llvm/test/ExecutionEngine')
-rw-r--r--llvm/test/ExecutionEngine/RuntimeDyld/X86/MachO_x86-64_PIC_relocations.s6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/ExecutionEngine/RuntimeDyld/X86/MachO_x86-64_PIC_relocations.s b/llvm/test/ExecutionEngine/RuntimeDyld/X86/MachO_x86-64_PIC_relocations.s
index 6c27b62dbff..e87b449bb23 100644
--- a/llvm/test/ExecutionEngine/RuntimeDyld/X86/MachO_x86-64_PIC_relocations.s
+++ b/llvm/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
OpenPOWER on IntegriCloud