Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix error handling in test suite #2366

Merged
merged 1 commit into from
May 4, 2022
Merged

Conversation

terhorstd
Copy link
Contributor

@terhorstd terhorstd commented Apr 5, 2022

The test suite failing without error message when junitparser is not installed, uncovered some structural bugs. When set -e is in effect, the shell variable $? is not useful, since any failling statement will abort execution.
This PR removes non-functional $? in do_tests.sh, and removes the flag for the final MacOS error handling.

@terhorstd terhorstd added T: Bug Wrong statements in the code or documentation S: High Should be handled next I: No breaking change Previously written code will work as before, no one should note anything changing (aside the fix) labels Apr 5, 2022
@terhorstd terhorstd requested review from jougs and gtrensch April 5, 2022 13:55
@terhorstd terhorstd added this to To do in Build system and CI via automation Apr 5, 2022
@terhorstd terhorstd changed the title remove non-functional $? in do_tests.sh Fix error handling in test suite Apr 5, 2022
@heplesser heplesser removed the request for review from jougs April 21, 2022 10:54
@jougs jougs merged commit 95c767e into nest:master May 4, 2022
Build system and CI automation moved this from To do to Done May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I: No breaking change Previously written code will work as before, no one should note anything changing (aside the fix) S: High Should be handled next T: Bug Wrong statements in the code or documentation
Projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants