From 28beeeac4db2d582d4947db96d62e423e4b68d88 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Wed, 15 Aug 2007 13:36:28 +0000 Subject: Convert tests using "| wc -l | grep ..." to use the count script. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41097 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/C++Frontend/2007-04-11-InlineStorageClassC++.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'test/C++Frontend/2007-04-11-InlineStorageClassC++.cpp') diff --git a/test/C++Frontend/2007-04-11-InlineStorageClassC++.cpp b/test/C++Frontend/2007-04-11-InlineStorageClassC++.cpp index 8f3723ba17..eabcd57327 100644 --- a/test/C++Frontend/2007-04-11-InlineStorageClassC++.cpp +++ b/test/C++Frontend/2007-04-11-InlineStorageClassC++.cpp @@ -1,17 +1,17 @@ // RUN: %llvmgxx %s -S -emit-llvm -O0 -o - | grep define | \ -// RUN: grep xglobWeak | grep linkonce | wc -l | grep 1 +// RUN: grep xglobWeak | grep linkonce | count 1 // RUN: %llvmgxx %s -S -emit-llvm -O0 -o - | grep define | \ -// RUN: grep xextWeak | grep linkonce | wc -l | grep 1 +// RUN: grep xextWeak | grep linkonce | count 1 // RUN: %llvmgxx %s -S -emit-llvm -O0 -o - | grep define | \ -// RUN: grep xWeaknoinline | grep weak | wc -l | grep 1 +// RUN: grep xWeaknoinline | grep weak | count 1 // RUN: %llvmgxx %s -S -emit-llvm -O0 -o - | grep define | \ -// RUN: grep xWeakextnoinline | grep weak | wc -l | grep 1 +// RUN: grep xWeakextnoinline | grep weak | count 1 // RUN: %llvmgxx %s -S -emit-llvm -O0 -o - | grep define | \ -// RUN: grep xglobnoWeak | grep linkonce | wc -l | grep 1 +// RUN: grep xglobnoWeak | grep linkonce | count 1 // RUN: %llvmgxx %s -S -emit-llvm -O0 -o - | grep define | \ -// RUN: grep xstatnoWeak | grep internal | wc -l | grep 1 +// RUN: grep xstatnoWeak | grep internal | count 1 // RUN: %llvmgxx %s -S -emit-llvm -O0 -o - | grep define | \ -// RUN: grep xextnoWeak | grep linkonce | wc -l | grep 1 +// RUN: grep xextnoWeak | grep linkonce | count 1 inline int xglobWeak(int) __attribute__((weak)); inline int xglobWeak (int i) { return i*2; -- cgit v1.2.3