Skip to content

Commit

Permalink
Fix error handling of compare_test_data in test.sh script
Browse files Browse the repository at this point in the history
  • Loading branch information
mikir committed Sep 7, 2023
1 parent d5c1989 commit 02b874d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,10 @@ test_cpp()
fi

compare_test_data "${TEST_SRC_DIR}" "${TEST_OUT_DIR}/cpp/${TARGET}/${BUILD_TYPE}" TEST_SUITES[@]
if [ $? -ne 0 ] ; then
stderr_echo "${MESSAGE} failed!"
return 1
fi
done

echo -e "FINISHED - ${MESSAGE}\n"
Expand Down

0 comments on commit 02b874d

Please sign in to comment.