From 2c5d2ea8a61d6c220635aeaaf8629ab8b8aece15 Mon Sep 17 00:00:00 2001 From: Han Shen Date: Wed, 6 Jun 2018 18:53:17 +0000 Subject: [PATCH] Fix the test case that places intermediate in source directory. This causes "permission denied" error in some controlled test environment where source tree is read-only. Differential Revision: https://reviews.llvm.org/D47839 llvm-svn: 334114 --- llvm/test/MC/ARM/fixup-per-fragment.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/test/MC/ARM/fixup-per-fragment.s b/llvm/test/MC/ARM/fixup-per-fragment.s index a127a396528f..bf4524de75fd 100644 --- a/llvm/test/MC/ARM/fixup-per-fragment.s +++ b/llvm/test/MC/ARM/fixup-per-fragment.s @@ -1,4 +1,4 @@ -@ RUN: not llvm-mc -triple armv7a-linux-gnueabihf %s -filetype=obj -o %s.o 2>&1 | FileCheck %s +@ RUN: not llvm-mc -triple armv7a-linux-gnueabihf %s -filetype=obj -o %t.o 2>&1 | FileCheck %s @ The relaxations should be applied using the subtarget from the fragment @ containing the fixup and not the per module subtarget.