From: John Criswell Date: Thu, 12 May 2005 21:06:05 +0000 (+0000) Subject: Fix this test on Solaris. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=32b30a3c239e682b7fae39ebd9c4b121f5865810;p=oota-llvm.git Fix this test on Solaris. Solaris grep is more traditional and (AFAIK) does not support regexs. Also, single quotes should disable all shell interpretation, so no backslashes should be needed (and, in fact, keep Solaris from working). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21902 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/PowerPC/fma.ll b/test/CodeGen/PowerPC/fma.ll index ed93633f7f6..794fa087428 100644 --- a/test/CodeGen/PowerPC/fma.ll +++ b/test/CodeGen/PowerPC/fma.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=ppc32 | grep 'fn\?madd\|fn\?msub' | wc -l | grep 7 +; RUN: llvm-as < %s | llc -march=ppc32 | egrep 'fn?madd|fn?msub' | wc -l | grep 7 double %test_FMADD1(double %A, double %B, double %C) { %D = mul double %A, %B