Skip to content

Conversation

@Alizter
Copy link
Collaborator

@Alizter Alizter commented Nov 24, 2025

We add support for running (tests) by providing their sources to dune runtest.

Addresses part of #870.

@Alizter Alizter force-pushed the push-kryquzyywyoo branch 2 times, most recently from c5de60e to 523b700 Compare November 25, 2025 00:00
@Alizter Alizter requested a review from rgrinberg November 25, 2025 00:00
@Alizter Alizter marked this pull request as ready for review November 25, 2025 00:00
@Alizter Alizter force-pushed the push-kryquzyywyoo branch 2 times, most recently from 162a7bd to e50dd2b Compare November 25, 2025 15:44
>>= function
| None -> Memo.return []
| Some source_dir ->
Source_tree.Dir.filenames source_dir
Copy link
Member

Choose a reason for hiding this comment

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

Can't we use Dir_contents here instead? This seems like the wrong API to use.


val make_request
: contexts:Context.t list
-> scontexts:Super_context.t Context_name.Map.t
Copy link
Member

Choose a reason for hiding this comment

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

Seems redundant to pass both contexts and scontexts. How about just making contexts be your new super context map? Or looking up the super context by context name inside this function.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yeah I wanted to avoid passing around the super context, but it looks like I will need it in the end to do dir_contents.

Signed-off-by: Ali Caglayan <alizter@gmail.com>
Signed-off-by: Ali Caglayan <alizter@gmail.com>
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.

2 participants