[llvm] r221944 - Relax the gcov version.ll test to check '.' instead of '\*'

Reid Kleckner reid at kleckner.net
Thu Nov 13 15:07:55 PST 2014


Author: rnk
Date: Thu Nov 13 17:07:55 2014
New Revision: 221944

URL: http://llvm.org/viewvc/llvm-project?rev=221944&view=rev
Log:
Relax the gcov version.ll test to check '.' instead of '\*'

The escaping of the '\*' doesn't work with my combination of testing
tools.

Modified:
    llvm/trunk/test/Transforms/GCOVProfiling/version.ll

Modified: llvm/trunk/test/Transforms/GCOVProfiling/version.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/GCOVProfiling/version.ll?rev=221944&r1=221943&r2=221944&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/GCOVProfiling/version.ll (original)
+++ llvm/trunk/test/Transforms/GCOVProfiling/version.ll Thu Nov 13 17:07:55 2014
@@ -1,11 +1,11 @@
 ; RUN: echo '!9 = metadata !{metadata !"%/T/version.ll", metadata !0}' > %t1
 ; RUN: cat %s %t1 > %t2
 ; RUN: opt -insert-gcov-profiling -disable-output < %t2
-; RUN: head -c8 %T/version.gcno | grep '^oncg\*204'
+; RUN: head -c8 %T/version.gcno | grep '^oncg.204'
 ; RUN: rm %T/version.gcno
 ; RUN: not opt -insert-gcov-profiling -default-gcov-version=asdfasdf -disable-output < %t2
 ; RUN: opt -insert-gcov-profiling -default-gcov-version=407* -disable-output < %t2
-; RUN: head -c8 %T/version.gcno | grep '^oncg\*704'
+; RUN: head -c8 %T/version.gcno | grep '^oncg.704'
 ; RUN: rm %T/version.gcno
 
 define void @test() {





More information about the llvm-commits mailing list