diff options
author | Dan Gohman <gohman@apple.com> | 2007-08-15 13:36:28 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2007-08-15 13:36:28 +0000 |
commit | 28beeeac4db2d582d4947db96d62e423e4b68d88 (patch) | |
tree | 3a500b846e77d285021ec12e3ef0bbe69c498b82 /test/CFrontend/2007-04-11-InlineStorageClassC99.c | |
parent | 7375bb9c8c82115dd401d67f0baaf30d6c481bd0 (diff) | |
download | external_llvm-28beeeac4db2d582d4947db96d62e423e4b68d88.zip external_llvm-28beeeac4db2d582d4947db96d62e423e4b68d88.tar.gz external_llvm-28beeeac4db2d582d4947db96d62e423e4b68d88.tar.bz2 |
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
Diffstat (limited to 'test/CFrontend/2007-04-11-InlineStorageClassC99.c')
-rw-r--r-- | test/CFrontend/2007-04-11-InlineStorageClassC99.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/CFrontend/2007-04-11-InlineStorageClassC99.c b/test/CFrontend/2007-04-11-InlineStorageClassC99.c index 2f09268..f6193aa 100644 --- a/test/CFrontend/2007-04-11-InlineStorageClassC99.c +++ b/test/CFrontend/2007-04-11-InlineStorageClassC99.c @@ -1,19 +1,19 @@ // RUN: %llvmgcc -std=c99 %s -S -emit-llvm -O0 -o - | grep declare | \ -// RUN: grep xglobWeak | grep extern_weak | wc -l | grep 1 +// RUN: grep xglobWeak | grep extern_weak | count 1 // RUN: %llvmgcc -std=c99 %s -S -emit-llvm -O0 -o - | grep define | \ -// RUN: grep xextWeak | grep weak | wc -l | grep 1 +// RUN: grep xextWeak | grep weak | count 1 // RUN: %llvmgcc -std=c99 %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: %llvmgcc -std=c99 %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: %llvmgcc -std=c99 %s -S -emit-llvm -O0 -o - | grep declare | \ // RUN: grep xglobnoWeak | grep -v internal | grep -v weak | \ -// RUN: grep -v linkonce | wc -l | grep 1 +// RUN: grep -v linkonce | count 1 // RUN: %llvmgcc -std=c99 %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: %llvmgcc -std=c99 %s -S -emit-llvm -O0 -o - | grep define | \ // RUN: grep xextnoWeak | grep -v internal | grep -v weak | \ -// RUN: grep -v linkonce | wc -l | grep 1 +// RUN: grep -v linkonce | count 1 inline int xglobWeak(int) __attribute__((weak)); inline int xglobWeak (int i) { return i*2; |