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

Check fails, stdout and stderr #389

Open
projetmbc opened this issue Oct 28, 2024 · 6 comments
Open

Check fails, stdout and stderr #389

projetmbc opened this issue Oct 28, 2024 · 6 comments

Comments

@projetmbc
Copy link

When check fails, you don't use the stdout stream. It should be better to indicate the failure "Check failed with <>" inside the stderr stream. Doing this allow extra tools to catch only checking that gives an error without having to parse all the stdout stream.

@josephwright
Copy link
Member

This is not an error from the l3build point of view: it's information for the user.

@projetmbc
Copy link
Author

This makes sense. But I see more that as a workflow error than a computation one. This makes me write weird lines of code : ugly tests .

@josephwright
Copy link
Member

I suspect you are doing something ... odd from our point of view: the entire idea with l3build is you run it yourself then take appropriate action if there is a failure. Could you outline your use case?

@projetmbc
Copy link
Author

Using parallelism, my script speeds up the search for regression when I modify my code. If I have an unexpected failure, I then work on each failing test on a case-by-case basis.

PS: in the end, once everything is fixed, I use l3build ctan, and therefore a classic l3build check.

@josephwright
Copy link
Member

Using parallelism, my script speeds up the search for regression when I modify my code. If I have an unexpected failure, I then work on each failing test on a case-by-case basis.

We do that too :)

@josephwright
Copy link
Member

@zauguin You are the expert in this area - what's your take?

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

No branches or pull requests

2 participants