diff options
author | Lisa Nguyen <lisa.nguyen@linaro.org> | 2014-08-07 18:34:00 -0700 |
---|---|---|
committer | Sanjay Singh Rawat <sanjay.rawat@linaro.org> | 2014-08-08 17:23:49 +0530 |
commit | 5ef922a6eafe9719c32223a7b23b78f57a1e0d60 (patch) | |
tree | 80185cb99b533d3cc4984ac93af7727ddc2707bf | |
parent | d585fab7fe681b79bd892ef78b7207663341bd07 (diff) |
Remove increment variables from check function
Remove the pass and fail count variables from the check()
function as all the pass/fail/skip counts are done inside
the log_end() function.
Signed-off-by: Lisa Nguyen <lisa.nguyen@linaro.org>
-rw-r--r-- | include/functions.sh | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/functions.sh b/include/functions.sh index 82d8139..bf2fcba 100644 --- a/include/functions.sh +++ b/include/functions.sh @@ -266,12 +266,10 @@ check() { $func $@ if [ $? -ne 0 ]; then log_end "Err" - fail_count=$(($fail_count + 1)) return 1 fi log_end "Ok" - pass_count=$(($pass_count + 1)) return 0 } |