scripts/contrib/build-perf-test.sh: record size in kb and remove extra spaces

(From OE-Core rev: 8c2b5948d41d753982242cd86a1498ab4f1bb317)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Stefan Stanacar 2013-09-12 11:09:00 +00:00 committed by Richard Purdie
parent 5fb63f685c
commit 576a19ed6c
1 changed files with 3 additions and 2 deletions

View File

@ -170,6 +170,7 @@ fi
# Disabling the network sanity check helps a bit (because of my crappy network connection and/or proxy)
echo "CONNECTIVITY_CHECK_URIS =\"\"" >> conf/local.conf
#
# Functions
#
@ -284,7 +285,7 @@ test1_p1 () {
do_rmsstate
do_sync
bbtime $IMAGE
s=`du -sh tmp | sed 's/tmp//'`
s=`du -s tmp | sed 's/tmp//' | sed 's/[ \t]*$//'`
SIZES[(( size_count++ ))]="$s"
log "SIZE of tmp dir is: $s"
log "Buildstats are saved in $OUTDIR/buildstats-test1"
@ -307,7 +308,7 @@ test1_p3 () {
do_sync
bbtime $IMAGE
sed -i 's/INHERIT += \"rm_work\"//' conf/local.conf
s=`du -sh tmp | sed 's/tmp//'`
s=`du -s tmp | sed 's/tmp//' | sed 's/[ \t]*$//'`
SIZES[(( size_count++ ))]="$s"
log "SIZE of tmp dir is: $s"
log "Buildstats are saved in $OUTDIR/buildstats-test13"