Change-Id: I6fb16e799e991ce01e9f997a05c4be72a26ce3af
Signed-off-by: Peter Mikus <pmikus@cisco.com>
-csit-ubuntu-16.04.1_2017-10-21_2.0
+csit-ubuntu-16.04.1_2018-03-07_2.1
\ No newline at end of file
--output ${LOG_PATH}/log_test_set_run${nr} \
tests/
--output ${LOG_PATH}/log_test_set_run${nr} \
tests/
- local_run_rc=$?
- echo ${local_run_rc} > ${SHARED_MEMORY_PATH}/rc_test_run${nr}
+ echo ${local_run_rc} > ${SHARED_MEMORY_PATH}/rc_test_run${nr}
echo "Test_set${index} log:"
cat ${LOG_PATH}/test_run${index}.log
RC_PARTIAL_RUN=$(cat ${SHARED_MEMORY_PATH}/rc_test_run${index})
echo "Test_set${index} log:"
cat ${LOG_PATH}/test_run${index}.log
RC_PARTIAL_RUN=$(cat ${SHARED_MEMORY_PATH}/rc_test_run${index})
+ if [ -z "$RC_PARTIAL_RUN" ]; then
+ echo "Failed to retrieve return code from test run ${index}"
+ exit 1
+ fi
RC=$((RC+RC_PARTIAL_RUN))
rm -f ${SHARED_MEMORY_PATH}/rc_test_run${index}
rm -f ${LOG_PATH}/test_run${index}.log
RC=$((RC+RC_PARTIAL_RUN))
rm -f ${SHARED_MEMORY_PATH}/rc_test_run${index}
rm -f ${LOG_PATH}/test_run${index}.log