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

tests: Allow the alcotest_suite to run #5604

Merged
merged 1 commit into from
Apr 30, 2024

Conversation

psafont
Copy link
Member

@psafont psafont commented Apr 30, 2024

No description provided.

Copy link
Contributor

@edwintorok edwintorok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure how to best detect this kind of bug in the quality gate.
If there are multiple modules with side-effects and some of them exit the program then whether some testsuites run or not depends on the linking order, which might depend on the order in which files got layed out on the filesystem (which depends on the kind of FS you have, some use a hashtable...)

We want only 1 Alcotest.run (or equivalent call, there are 2 more variants I think) in a single program.
But tests/ has multiple different programs too.

Signed-off-by: Pau Ruiz Safont <pau.ruizsafont@cloud.com>
@robhoes robhoes merged commit 22d532c into xapi-project:master Apr 30, 2024
14 checks passed
@psafont psafont deleted the run_suite branch May 2, 2024 11:34
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.

4 participants