[llvm] r267517 - Pass the test file in through stdin instead of by filename.
Richard Trieu via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 25 20:43:50 PDT 2016
Author: rtrieu
Date: Mon Apr 25 22:43:49 2016
New Revision: 267517
URL: http://llvm.org/viewvc/llvm-project?rev=267517&view=rev
Log:
Pass the test file in through stdin instead of by filename.
When passed in via filename, this test will fail if the path to the test
has the strings "f1" and "f2" in somewhere. Pass the file through stdin
to prevent test failures due to coincidences in path names.
Modified:
llvm/trunk/test/CodeGen/ARM/inlineasm-X-constraint.ll
Modified: llvm/trunk/test/CodeGen/ARM/inlineasm-X-constraint.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/inlineasm-X-constraint.ll?rev=267517&r1=267516&r2=267517&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/ARM/inlineasm-X-constraint.ll (original)
+++ llvm/trunk/test/CodeGen/ARM/inlineasm-X-constraint.ll Mon Apr 25 22:43:49 2016
@@ -1,4 +1,4 @@
-; RUN: llc -mtriple=armv7-none-eabi -mattr=+neon %s -o - | FileCheck %s
+; RUN: llc -mtriple=armv7-none-eabi -mattr=+neon < %s -o - | FileCheck %s
; The following functions test the use case where an X constraint is used to
; add a dependency between an assembly instruction (vmsr in this case) and
More information about the llvm-commits
mailing list