From dc3a2fc6195154a10f5d47fbe3f4e6d3441eaffb Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Sat, 28 Jun 2014 05:18:49 +0000 Subject: [PATCH] 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 --- .../RuntimeDyld/X86/MachO_x86-64_PIC_relocations.s | 6 +++--- 1 file 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 6c27b62dbff..e87b449bb23 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