Failures in basic-build-tests.sh should make the CI report the failure (making the overall run red).
See for example:
https://jenkins-mbedtls.oss.arm.com/blue/organizations/jenkins/mbedtls-release-new/detail/mbedtls-release-new/854/pipeline/14892/
The CI is green and passes, but there are failures in the code coverage job.