Fix this test to not write to the source tree, and instead to write to
authorChandler Carruth <chandlerc@gmail.com>
Sat, 28 Jun 2014 05:18:49 +0000 (05:18 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sat, 28 Jun 2014 05:18:49 +0000 (05:18 +0000)
a temporary file. This fixes the test in cases where the source tree is
mounted read-only.

llvm-svn: 211975

llvm/test/ExecutionEngine/RuntimeDyld/X86/MachO_x86-64_PIC_relocations.s

index 6c27b62..e87b449 100644 (file)
@@ -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