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

C++ Client: improve proto build script test for missing envars #4796

Merged
merged 1 commit into from
Nov 8, 2023

Conversation

kosak
Copy link
Contributor

@kosak kosak commented Nov 8, 2023

Expected behavior: when the envars are unset, our message is printed.

Actual behavior: because of set -u the intended error message never gets printed. Instead we get this shell error

$ ./build-cpp-protos.sh 
./build-cpp-protos.sh: line 5: PROTOC_BIN: unbound variable

@kosak kosak requested a review from jcferretti November 8, 2023 16:38
@kosak kosak added NoDocumentationNeeded NoReleaseNotesNeeded No release notes are needed. labels Nov 8, 2023
@kosak kosak merged commit 0d31629 into deephaven:main Nov 8, 2023
12 of 14 checks passed
@kosak kosak deleted the kosak_fix-proto-build-script branch November 8, 2023 21:21
@github-actions github-actions bot locked and limited conversation to collaborators Nov 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants