From 97786a6d0825b526d1e50d820d5cb62b7a3a1345 Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Thu, 13 Nov 2014 23:07:55 +0000 Subject: [PATCH] Relax the gcov version.ll test to check '.' instead of '\*' The escaping of the '\*' doesn't work with my combination of testing tools. llvm-svn: 221944 --- test/Transforms/GCOVProfiling/version.ll | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Transforms/GCOVProfiling/version.ll b/test/Transforms/GCOVProfiling/version.ll index ee67f2a457e..1af684e2959 100644 --- a/test/Transforms/GCOVProfiling/version.ll +++ b/test/Transforms/GCOVProfiling/version.ll @@ -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() {