unit: Exit test-mesh-crypto on any detected fail 08/234208/1
authorBrian Gix <brian.gix@intel.com>
Tue, 7 Apr 2020 16:10:33 +0000 (09:10 -0700)
committerAbhay Agarwal <ay.agarwal@samsung.com>
Fri, 22 May 2020 04:23:43 +0000 (09:53 +0530)
commit61f83172381456009e6e77e4294b702c7e7aeecb
treefe3b36dfb35bb9038d24de329d5efd878f0fbe21
parent4269dbc68c9bd2a532750577c0df1df4fa9fccf8
unit: Exit test-mesh-crypto on any detected fail

Unit test would signal failures if run on commandline, but not if
run as part of a unit test sweep. This change forces an exit(1) on
any detected fail, and is caught by test suite runner.

Change-Id: Ice205022416bbcb91bd937a035e288bae1c2fc81
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
unit/test-mesh-crypto.c