Skip to content

Commit a383832

Browse files
committed
Skip tests by os_type
1 parent 3618cf7 commit a383832

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
@@ -761,7 +761,7 @@ To avoid this problem, you can use `Eio.Exn.Backend.show`
761761

762762
to hide the backend-specific part of errors:
763763

764-
<!-- $MDX skip -->
764+
<!-- $MDX os_type<>Win32 -->
765765
```ocaml
766766
# Eio_main.run @@ fun env ->
767767
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.opam

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,6 @@ build: [
4646
]
4747
]
4848
dev-repo: "git+https://github.com/ocaml-multicore/eio.git"
49+
pin-depends: [
50+
[ "mdx.dev" "git+https://github.com/polytypic/mdx.git#7101533dedf90983e760d8a08f8bfeef4fedb89b" ]
51+
]

eio.opam.template

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

0 commit comments

Comments
 (0)