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

Parallel test suite execution causes tests to fail #56

Open
enter-github-username opened this issue May 1, 2023 · 1 comment
Open

Comments

@enter-github-username
Copy link

Running the test suite (the files in c-examples/simple, which are executed when running make check) in parallel via the -j<number of tests to run in parallel> flag of make (check) currently leads to test failures. This is caused by a inter-test dependency, as the tests are dependent on the genber test to generate the pr.ber file. If the genber test is not yet finished, the other tests fail.

A solution, if this behavior is not intended, might be to generate the pr.ber file as part of the actual build process and not inside a seperate executable, which is only executed when the test suite is already running.

@apconole
Copy link
Member

apconole commented May 2, 2023

Thanks for the report - when I get a chance, I'll look into it

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