-
Notifications
You must be signed in to change notification settings - Fork 72
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
Getting MDX tests working on Windows #589
base: main
Are you sure you want to change the base?
Conversation
502d91d
to
ad9e39c
Compare
|
||
<!-- $MDX skip --> | ||
```ocaml | ||
# Eio_main.run @@ fun env -> |
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.
For some reason this test never completes. So, I disabled it.
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.
That seems worrying! Is it only an MDX thing, or does the example in examples/net
also hang if the server side isn't running?
56d9fe9
to
cfbb46b
Compare
cfbb46b
to
988e85a
Compare
@@ -904,6 +912,7 @@ ONE TWO THREE | |||
If you want to capture the output of a process, you can provide a suitable `Eio.Flow.sink` as the `stdout` argument, |
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.
I disabled the process tests. There are two problems:
- Process operations are not yet implemented on Windows.
- Even if the process operations were implemented on Windows, the tests would not work on Windows, because they use commands that do not necessarily exist on Windows.
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. We really need a way to selectively disable tests on different platforms (e.g. realworldocaml/mdx#393).
We could consider adding some TODO notes to things disabled in this PR currently, merge it — so we'd have more Windows tests running on CI — and then continue with the TODOs in separate PRs. Or we can continue work in this PR and not merge it yet. Either way is fine with me. |
dde2046
to
5cca345
Compare
5cca345
to
2b8cded
Compare
2b8cded
to
9b86081
Compare
9b86081
to
a383832
Compare
5897e55
to
65a4936
Compare
65a4936
to
8ce161d
Compare
No description provided.