Flush 'Build for ...' messages before each build
authorTrevor Bramwell <tbramwell@linuxfoundation.org>
Thu, 15 Sep 2016 19:55:59 +0000 (12:55 -0700)
committerDave Thaler <dthaler@microsoft.com>
Fri, 16 Sep 2016 01:02:54 +0000 (01:02 +0000)
commit7b858e89dfffdd08a6084a590fa87cb8e70ea132
treeb4cc393f57d03c0e609bf38b7989b96142920f71
parent0a3b83222bfff7e44ecb60c89ce682a58a0ee762
Flush 'Build for ...' messages before each build

During a run of 'auto_build.py', stdout buffering get taken over by the
subprocess module, causing print statements in 'auto_build.py' to not
output until the very end of a build. Calling 'sys.stdout.flush()'
causes stdout to be output before the next call to 'subprocess'.

Change-Id: Ibb193b5d30458a3d9be20d418ee22cac302ee819
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11823
Reviewed-by: Rick Bell <richard.s.bell@intel.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Dave Thaler <dthaler@microsoft.com>
auto_build.py