[llvm] r334114 - Fix the test case that places intermediate in source directory.

Han Shen via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 6 11:53:17 PDT 2018


Author: shenhan
Date: Wed Jun  6 11:53:17 2018
New Revision: 334114

URL: http://llvm.org/viewvc/llvm-project?rev=334114&view=rev
Log:
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


Modified:
    llvm/trunk/test/MC/ARM/fixup-per-fragment.s

Modified: llvm/trunk/test/MC/ARM/fixup-per-fragment.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ARM/fixup-per-fragment.s?rev=334114&r1=334113&r2=334114&view=diff
==============================================================================
--- llvm/trunk/test/MC/ARM/fixup-per-fragment.s (original)
+++ llvm/trunk/test/MC/ARM/fixup-per-fragment.s Wed Jun  6 11:53:17 2018
@@ -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.




More information about the llvm-commits mailing list