diff options
Diffstat (limited to 'smartbench2012/extract_results.sh')
-rwxr-xr-x | smartbench2012/extract_results.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/smartbench2012/extract_results.sh b/smartbench2012/extract_results.sh index 4609f51..e5b7e6f 100755 --- a/smartbench2012/extract_results.sh +++ b/smartbench2012/extract_results.sh @@ -1,6 +1,9 @@ -#!/bin/sh +#!/bin/bash -SCORE=`awk -F'[][]' '/SBGlobal.nProductivityIndex/{k=$2}END{print k}' logcat.log` +local_this_parent="$(cd $(dirname $0);pwd)" +source "${local_this_parent}/../common/common.sh" + +SCORE=`awk -F'[][]' '/SBGlobal.nProductivityIndex/{k=$2}END{print k}' ${F_LOGCAT}` UNIT="points" echo "Score is: $SCORE" |