Andrew Wong has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/11399 )
Change subject: build: add option to ignore test failures ...................................................................... build: add option to ignore test failures Sometimes when running build-and-test.sh, we may not care about the failure of any given test, so long as the tests ran, e.g. if running only for the sake of reporting the results of the tests. As such, this patch adds an option to ignore test failures during runs of build-and-test.sh. I tested this by injecting errors into a test and doing a build-and-test.sh run with the new ERROR_ON_TEST_FAILURE=1, verifying that it still returns an error; and with ERROR_ON_TEST_FAILURE=0, verifying that it returns no error. I also broke the build and verified that, despite ERROR_ON_TEST_FAILURE=0, it returns an error. Change-Id: I27ecacd499423755dbf742bb70db6a7f1e5c9db7 Reviewed-on: http://gerrit.cloudera.org:8080/11399 Reviewed-by: Adar Dembo <[email protected]> Tested-by: Kudu Jenkins Reviewed-by: Grant Henke <[email protected]> --- M build-support/jenkins/build-and-test.sh 1 file changed, 21 insertions(+), 12 deletions(-) Approvals: Adar Dembo: Looks good to me, approved Kudu Jenkins: Verified Grant Henke: Looks good to me, approved -- To view, visit http://gerrit.cloudera.org:8080/11399 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I27ecacd499423755dbf742bb70db6a7f1e5c9db7 Gerrit-Change-Number: 11399 Gerrit-PatchSet: 4 Gerrit-Owner: Andrew Wong <[email protected]> Gerrit-Reviewer: Adar Dembo <[email protected]> Gerrit-Reviewer: Andrew Wong <[email protected]> Gerrit-Reviewer: Grant Henke <[email protected]> Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Mike Percy <[email protected]>
