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

Report failing command in invoke_command() #380

Merged
merged 3 commits into from
Dec 14, 2023

Conversation

evelikov
Copy link
Collaborator

This builds on the ideas in #378, namely:

  • replaces the somewhat misleading/inconsistent "make ..." command during module building
  • passes the redirection file/log as argument to the function
  • prints/reports the failing command

All the other invoke_command instances produce nor human friendly
output, for the non-verbose case. Update the build instance to do the
same.

This clears extra confusion when either stage fails.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Currently we pass a composite build command that includes the
redirection of stdout/stderr. Pass the (log) file as separate argument
instead.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Report the command that had a bad exit status. This gives a better picture of
what is happening.

Co-authored-by: Mart Frauenlob <AllKind@fastest.cc>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
@evelikov
Copy link
Collaborator Author

@AllKind what do you think?

@AllKind
Copy link
Contributor

AllKind commented Dec 13, 2023

Cool!

@evelikov
Copy link
Collaborator Author

Thanks, merging.

@evelikov evelikov merged commit 580e6a5 into dell:master Dec 14, 2023
@evelikov evelikov deleted the rework-exit-status branch December 14, 2023 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants