Skip to content

fix: dune test dirtest.t/run.t running cram test incorrectly #11869

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Alizter
Copy link
Collaborator

@Alizter Alizter commented May 27, 2025

We fix an issue where a user can write

dune test dirtest.t/run.t

and the corresponding cram test was being run incorrectly. This was due to the buggy parent detection code in runtest.ml. We fix how the parent directory of a cram test is actually detected and do some cleanup for cram source related code.

The runtest.ml test is updated to better reflect what we expect the command to do.

  • changelog

@Alizter Alizter requested a review from rgrinberg May 27, 2025 10:02
We fix an issue where a user can write

```
dune test dirtest.t/run.t
```

and the corresponding cram test was being run incorrectly. This was due
to the buggy parent detection code in runtest.ml. We fix how the parent
directory of a cram test is actually detected and do some cleanup for
cram source related code.

The runtest.ml test is updated to better reflect what we expect the
command to do.

Signed-off-by: Ali Caglayan <[email protected]>
@Alizter Alizter force-pushed the fix-foo_t_run_t branch from 2d78589 to fcd9c8d Compare May 27, 2025 11:43
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.

1 participant