summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorStefan Stanacar <stefanx.stanacar@intel.com>2013-09-12 11:09:00 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-14 08:29:41 +0100
commit576a19ed6c71ea04b39df806d4838cc74a015b26 (patch)
tree72acf450466091e730c33578d4b8968450c960c2 /scripts
parent5fb63f685c7c06a3940731128856b63e4429de80 (diff)
downloadpoky-576a19ed6c71ea04b39df806d4838cc74a015b26.tar.gz
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>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/contrib/build-perf-test.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/contrib/build-perf-test.sh b/scripts/contrib/build-perf-test.sh
index ce0fb9afd8..be3b648046 100755
--- a/scripts/contrib/build-perf-test.sh
+++ b/scripts/contrib/build-perf-test.sh
@@ -170,6 +170,7 @@ fi
170# Disabling the network sanity check helps a bit (because of my crappy network connection and/or proxy) 170# Disabling the network sanity check helps a bit (because of my crappy network connection and/or proxy)
171echo "CONNECTIVITY_CHECK_URIS =\"\"" >> conf/local.conf 171echo "CONNECTIVITY_CHECK_URIS =\"\"" >> conf/local.conf
172 172
173
173# 174#
174# Functions 175# Functions
175# 176#
@@ -284,7 +285,7 @@ test1_p1 () {
284 do_rmsstate 285 do_rmsstate
285 do_sync 286 do_sync
286 bbtime $IMAGE 287 bbtime $IMAGE
287 s=`du -sh tmp | sed 's/tmp//'` 288 s=`du -s tmp | sed 's/tmp//' | sed 's/[ \t]*$//'`
288 SIZES[(( size_count++ ))]="$s" 289 SIZES[(( size_count++ ))]="$s"
289 log "SIZE of tmp dir is: $s" 290 log "SIZE of tmp dir is: $s"
290 log "Buildstats are saved in $OUTDIR/buildstats-test1" 291 log "Buildstats are saved in $OUTDIR/buildstats-test1"
@@ -307,7 +308,7 @@ test1_p3 () {
307 do_sync 308 do_sync
308 bbtime $IMAGE 309 bbtime $IMAGE
309 sed -i 's/INHERIT += \"rm_work\"//' conf/local.conf 310 sed -i 's/INHERIT += \"rm_work\"//' conf/local.conf
310 s=`du -sh tmp | sed 's/tmp//'` 311 s=`du -s tmp | sed 's/tmp//' | sed 's/[ \t]*$//'`
311 SIZES[(( size_count++ ))]="$s" 312 SIZES[(( size_count++ ))]="$s"
312 log "SIZE of tmp dir is: $s" 313 log "SIZE of tmp dir is: $s"
313 log "Buildstats are saved in $OUTDIR/buildstats-test13" 314 log "Buildstats are saved in $OUTDIR/buildstats-test13"