-
Notifications
You must be signed in to change notification settings - Fork 454
feat(runtest): dune runtest for (tests) #12785
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
base: main
Are you sure you want to change the base?
Conversation
c5de60e to
523b700
Compare
162a7bd to
e50dd2b
Compare
| >>= function | ||
| | None -> Memo.return [] | ||
| | Some source_dir -> | ||
| Source_tree.Dir.filenames source_dir |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
e50dd2b to
421edcd
Compare
Signed-off-by: Ali Caglayan <alizter@gmail.com>
Signed-off-by: Ali Caglayan <alizter@gmail.com>
421edcd to
958e2be
Compare
We add support for running
(tests)by providing their sources todune runtest.Addresses part of #870.