Skip to content

Fix a couple of issues when compiling with future versions of dependencies #6391

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

Merged
merged 3 commits into from
Apr 1, 2025

Conversation

psafont
Copy link
Member

@psafont psafont commented Mar 28, 2025

See failures in xapi-project/xs-opam#722

psafont added 2 commits March 28, 2025 18:08
add logs dependency, necessary for future versions of logs

Signed-off-by: Pau Ruiz Safont <pau.ruizsafont@cloud.com>
Alcotest changed how match_raises to actually be reasonable instead of failing
when the mathing function returns true (note how is_oob expects a string with
two spaces)

This also highlights why matching strings in exception is a bad idea. Instead
raise a non-stringy exception and use polymorphic compare.

Signed-off-by: Pau Ruiz Safont <pau.ruizsafont@cloud.com>
It's has been replaced by clock

Signed-off-by: Pau Ruiz Safont <pau.ruizsafont@cloud.com>
@psafont psafont added this pull request to the merge queue Apr 1, 2025
@psafont psafont removed this pull request from the merge queue due to a manual request Apr 1, 2025
@psafont psafont added this pull request to the merge queue Apr 1, 2025
Merged via the queue into xapi-project:master with commit d3a7430 Apr 1, 2025
17 checks passed
@psafont psafont deleted the fixes-next branch April 2, 2025 15:44
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.

3 participants