From: Ross Burton Date: Wed, 6 Apr 2016 15:59:03 +0000 (+0100) Subject: build-perf-test: add eSDK installed size to metrics X-Git-Tag: 2016-4~98 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=57040305dea7e2167adb47c136a7b85f09ee7d24;p=openembedded-core.git build-perf-test: add eSDK installed size to metrics Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/scripts/contrib/build-perf-test.sh b/scripts/contrib/build-perf-test.sh index f1f44d3297..7d99228c73 100755 --- a/scripts/contrib/build-perf-test.sh +++ b/scripts/contrib/build-perf-test.sh @@ -369,6 +369,10 @@ test4 () { do_sync time_cmd "$esdk_installer" -y -d "tmp/esdk-deploy" + + s=$((`du -sb "tmp/esdk-deploy" | cut -f1` / 1024)) + SIZES[(( size_count++ ))]="$s" + log "Install SIZE of eSDK is: $s kB" else log "ERROR: other than one sdk found (${esdk_installer[*]}), reporting size and time as 0." SIZES[(( size_count++ ))]="0"