[llvm] r220401 - test: Make this test runnable in directories with @ in their names
Justin Bogner
mail at justinbogner.com
Wed Oct 22 11:18:54 PDT 2014
Author: bogner
Date: Wed Oct 22 13:18:54 2014
New Revision: 220401
URL: http://llvm.org/viewvc/llvm-project?rev=220401&view=rev
Log:
test: Make this test runnable in directories with @ in their names
Jenkins likes to use directories with names involving the '@'
character, which breaks the sed expression in this test. Switch to use
'|' on the assumption that it's less likely to show up in a path.
Modified:
llvm/trunk/test/Transforms/GCOVProfiling/linezero.ll
Modified: llvm/trunk/test/Transforms/GCOVProfiling/linezero.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/GCOVProfiling/linezero.ll?rev=220401&r1=220400&r2=220401&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/GCOVProfiling/linezero.ll (original)
+++ llvm/trunk/test/Transforms/GCOVProfiling/linezero.ll Wed Oct 22 13:18:54 2014
@@ -1,4 +1,4 @@
-; RUN: sed -e 's at PATTERN@\%T at g' < %s > %t1
+; RUN: sed -e 's|PATTERN|%T|g' < %s > %t1
; RUN: opt -insert-gcov-profiling -disable-output < %t1
; RUN: rm %T/linezero.gcno %t1
; REQUIRES: shell
More information about the llvm-commits
mailing list