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

Adding new tests using runDaphne can cause test.sh to run indefinitely #923

Open
AlexRTer opened this issue Nov 29, 2024 · 0 comments
Open
Labels
bug A mistake in the code. Tests Label for issues with tests or missing test cases

Comments

@AlexRTer
Copy link
Collaborator

When adding new test cases in #922, I noticed the test.sh script ran indefinitely. One of the tests it gets stuck on (ewBinarySub) runs test/api/cli/codegen/ewbinary_sub.daphne which runs correctly if executed on its own (with and without codegen).
EwBinaryTest's testing function calls runDaphne -> runProgram and seems to get stuck on the first dup2 call at line 117 which never returns/finishes.
This could be related to the issue of leaking file descriptors that was fixed in c2900a3. The mentioned PR is the smallest addition I am currently aware of to trigger this issue.

@AlexRTer AlexRTer added bug A mistake in the code. Tests Label for issues with tests or missing test cases labels Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A mistake in the code. Tests Label for issues with tests or missing test cases
Projects
None yet
Development

No branches or pull requests

1 participant