From: 박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 Date: Fri, 22 Nov 2019 07:33:28 +0000 (+0900) Subject: [tf2circle-ui-check] Print tf2circle's exitcode (#9128) X-Git-Tag: submit/tizen/20191205.083104~168 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9f0d8269c966340298fec6fe7657252f61be73b3;p=platform%2Fcore%2Fml%2Fnnfw.git [tf2circle-ui-check] Print tf2circle's exitcode (#9128) The current implementation shows the exitcode of the last "echo" command, and thus it always print 0. Signed-off-by: Jonghyun Park --- diff --git a/compiler/tf2circle-ui-check/checkall.sh b/compiler/tf2circle-ui-check/checkall.sh index 5150e05..88c8808 100755 --- a/compiler/tf2circle-ui-check/checkall.sh +++ b/compiler/tf2circle-ui-check/checkall.sh @@ -35,10 +35,11 @@ while [[ $# -ne 0 ]]; do echo "---------------------------------------------------------" # Generate circle "${TF2CIRCLE_PATH}" "${INFO_FILE}" "${PB_FILE}" "${NAME}.circle" + EXITCODE=$? echo "---------------------------------------------------------" echo - echo "EXITCODE: $?" + echo "EXITCODE: ${EXITCODE}" echo "Running '${NAME}' - Done" done