Skip to content

Commit dde2046

Browse files
committed
Skip tests by os_type
1 parent 988e85a commit dde2046

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -740,7 +740,7 @@ or by calling `Printexc.record_backtrace true`, as usual.
740740
When writing MDX tests that depend on getting the exact error output,
741741
it can be annoying to have the full backend-specific error displayed:
742742

743-
<!-- $MDX non-deterministic=command -->
743+
<!-- $MDX os_type<>Win32 -->
744744
```ocaml
745745
# Eio_main.run @@ fun env ->
746746
let net = Eio.Stdenv.net env in
@@ -887,7 +887,7 @@ perhaps with `open_dir` to constrain all access to be within that directory.
887887

888888
Spawning a child process can be done using the [Eio.Process][] module:
889889

890-
<!-- $MDX non-deterministic=command -->
890+
<!-- $MDX os_type<>Win32 -->
891891
```ocaml
892892
# Eio_main.run @@ fun env ->
893893
let proc_mgr = Eio.Stdenv.process_mgr env in
@@ -899,7 +899,7 @@ hello
899899
There are various optional arguments for setting the process's current directory or connecting up the standard streams.
900900
For example, we can use `tr` to convert some text to upper-case:
901901

902-
<!-- $MDX non-deterministic=command -->
902+
<!-- $MDX os_type<>Win32 -->
903903
```ocaml
904904
# Eio_main.run @@ fun env ->
905905
let proc_mgr = Eio.Stdenv.process_mgr env in
@@ -912,7 +912,7 @@ ONE TWO THREE
912912
If you want to capture the output of a process, you can provide a suitable `Eio.Flow.sink` as the `stdout` argument,
913913
or use the `parse_out` convenience wrapper:
914914

915-
<!-- $MDX non-deterministic=command -->
915+
<!-- $MDX os_type<>Win32 -->
916916
```ocaml
917917
# Eio_main.run @@ fun env ->
918918
let proc_mgr = Eio.Stdenv.process_mgr env in
@@ -922,7 +922,7 @@ or use the `parse_out` convenience wrapper:
922922

923923
All process functions either return the exit status or check that it was zero (success):
924924

925-
<!-- $MDX non-deterministic=command -->
925+
<!-- $MDX os_type<>Win32 -->
926926
```ocaml
927927
# Eio_main.run @@ fun env ->
928928
let proc_mgr = Eio.Stdenv.process_mgr env in

eio_windows.opam

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,6 @@ build: [
3131
]
3232
dev-repo: "git+https://github.com/ocaml-multicore/eio.git"
3333
#available: [os = "win32"]
34+
pin-depends: [
35+
[ "mdx.dev" "git+https://github.com/polytypic/mdx.git#7101533dedf90983e760d8a08f8bfeef4fedb89b" ]
36+
]

eio_windows.opam.template

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
11
#available: [os = "win32"]
2+
pin-depends: [
3+
[ "mdx.dev" "git+https://github.com/polytypic/mdx.git#7101533dedf90983e760d8a08f8bfeef4fedb89b" ]
4+
]

0 commit comments

Comments
 (0)