Skip to content

Remove use of /tmp from a test #1350

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 2 commits into from
Jul 4, 2025
Merged

Remove use of /tmp from a test #1350

merged 2 commits into from
Jul 4, 2025

Conversation

jonludlam
Copy link
Member

No description provided.

@panglesd panglesd added the no changelog This pull request does not need a changelog entry label Jun 16, 2025
@panglesd
Copy link
Collaborator

I'm not sure how this test is useful. It was introduced in #1081, so I guess it's about the computed content of the signature?

@@ -1,6 +1,4 @@
$ ocamlc -c -bin-annot test.mli
$ odoc compile test.cmti
$ odoc link test.odoc
Copy link
Collaborator

Choose a reason for hiding this comment

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

A low effort that makes the test more useful would be to print the content:

Suggested change
$ odoc link test.odoc
$ odoc link test.odoc
$ odoc_print test.odocl

A better version would be to only show what we are interested in in this test and explain what we test, but that could be in another PR.

@jonludlam
Copy link
Member Author

You're right, this test is essentially useless. Let's remove it.

@jonludlam jonludlam merged commit 0f8f439 into ocaml:master Jul 4, 2025
11 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no changelog This pull request does not need a changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants