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.

llvm-svn: 221944

llvm/test/Transforms/GCOVProfiling/version.ll

index ee67f2a..1af684e 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() {