build: Exit with return code from builds
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Mon, 29 Aug 2016 18:57:36 +0000 (11:57 -0700)
committerUze Choi <uzchoi@samsung.com>
Thu, 8 Sep 2016 01:50:26 +0000 (01:50 +0000)
commit62690186a4c4289c98e5fbca7392ae37033def9b
tree34e0dab826fdd22c714b1801fab765a2bc8ff89d
parent20aeee720d1c43b79810838eaa3abc15a6ec3ee0
build: Exit with return code from builds

[Trevor Bramwell <tbramwell@linuxfoundation.org>]
The exit code from scons calls is being silently ignored. Returning the
exit code from 'wait()' in auto_build.py and passing it to 'exit()'
should correctly fail builds.

[Philippe Coval <philippe.coval@osg.samsung.com>]
To sort out and sync ourselves, I added Bug-Id to commit message.
Content is same, feel free keep that link and push over.

Change-Id: I5afce52a3bddf7fb4e6b68acb57a1d51f3034067
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
Author: Trevor Bramwell <tbramwell@linuxfoundation.org>
Bug: https://jira.iotivity.org/browse/IOT-1260
Origin: https://gerrit.iotivity.org/gerrit/#/c/11087/
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11087
Reviewed-by: jihwan seo <jihwan.seo@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: David Antler <david.a.antler@intel.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
auto_build.py