Skip to content

Fix CI failure in test for -alloc-check #817

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 1 commit into from
Sep 12, 2022

Conversation

gretay-js
Copy link
Contributor

A test introduced in #778 (using dune runtest instead of ocamltest) fails on the CI sometimes with flambda2 because of extra spaces introduced in the output. I don't know what it happened. Pushing the same revision again the test passes. Maybe something different in the github ci vm.

This PR tries to hack around it by trimming leading spaces of the output of the test.

@gretay-js gretay-js added the bug Something isn't working label Sep 8, 2022
@gretay-js gretay-js requested a review from xclerc as a September 8, 2022 16:55
Copy link
Contributor

@xclerc xclerc left a comment

Choose a reason for hiding this comment

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

It is actually surprising it ever worked;
perhaps by accident if patdiff is available.
We should maybe force its installation
and its use by dune (--diff-command,
See dune's documentation).

@gretay-js gretay-js force-pushed the fix_test_noalloc_check_in_ci branch from 070ddac to fd85f54 Compare September 12, 2022 09:26
@gretay-js gretay-js merged commit 2490c7a into main Sep 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants