Relax the gcov version.ll test to check '.' instead of '\*'
authorReid Kleckner <reid@kleckner.net>
Thu, 13 Nov 2014 23:07:55 +0000 (23:07 +0000)
committerReid Kleckner <reid@kleckner.net>
Thu, 13 Nov 2014 23:07:55 +0000 (23:07 +0000)
The escaping of the '\*' doesn't work with my combination of testing
tools.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221944 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/GCOVProfiling/version.ll

index ee67f2a457e0a94b0db537f50f66c8495cf222d1..1af684e2959dc27dee30bb83513a842f48642303 100644 (file)
@@ -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() {