[oe-commits] [openembedded-core] 20/20: build-perf-test: add eSDK installed size to metrics

git at git.openembedded.org git at git.openembedded.org
Fri Apr 8 07:06:14 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 57040305dea7e2167adb47c136a7b85f09ee7d24
Author: Ross Burton <ross.burton at intel.com>
AuthorDate: Wed Apr 6 16:59:03 2016 +0100

    build-perf-test: add eSDK installed size to metrics
    
    Signed-off-by: Ross Burton <ross.burton at intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 scripts/contrib/build-perf-test.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/scripts/contrib/build-perf-test.sh b/scripts/contrib/build-perf-test.sh
index f1f44d3..7d99228 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"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list