From 9b86081a316970a533a42305d3abdf2499e02379 Mon Sep 17 00:00:00 2001 From: Vesa Karvonen Date: Thu, 27 Jul 2023 14:32:31 +0300 Subject: [PATCH] Skip tests by os_type --- README.md | 10 +++++----- eio.opam | 3 +++ eio.opam.template | 3 +++ 3 files changed, 11 insertions(+), 5 deletions(-) create mode 100644 eio.opam.template diff --git a/README.md b/README.md index d9fe8f695..ff2e9d833 100644 --- a/README.md +++ b/README.md @@ -761,7 +761,7 @@ To avoid this problem, you can use `Eio.Exn.Backend.show` to hide the backend-specific part of errors: - + ```ocaml # Eio_main.run @@ fun env -> let net = Eio.Stdenv.net env in @@ -887,7 +887,7 @@ perhaps with `open_dir` to constrain all access to be within that directory. Spawning a child process can be done using the [Eio.Process][] module: - + ```ocaml # Eio_main.run @@ fun env -> let proc_mgr = Eio.Stdenv.process_mgr env in @@ -899,7 +899,7 @@ hello There are various optional arguments for setting the process's current directory or connecting up the standard streams. For example, we can use `tr` to convert some text to upper-case: - + ```ocaml # Eio_main.run @@ fun env -> let proc_mgr = Eio.Stdenv.process_mgr env in @@ -912,7 +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, or use the `parse_out` convenience wrapper: - + ```ocaml # Eio_main.run @@ fun env -> let proc_mgr = Eio.Stdenv.process_mgr env in @@ -922,7 +922,7 @@ or use the `parse_out` convenience wrapper: All process functions either return the exit status or check that it was zero (success): - + ```ocaml # Eio_main.run @@ fun env -> let proc_mgr = Eio.Stdenv.process_mgr env in diff --git a/eio.opam b/eio.opam index 75a589f8a..c9cc9287c 100644 --- a/eio.opam +++ b/eio.opam @@ -47,3 +47,6 @@ build: [ ] ] dev-repo: "git+https://github.com/ocaml-multicore/eio.git" +pin-depends: [ + [ "mdx.dev" "git+https://github.com/polytypic/mdx.git#7101533dedf90983e760d8a08f8bfeef4fedb89b" ] +] diff --git a/eio.opam.template b/eio.opam.template new file mode 100644 index 000000000..501513f50 --- /dev/null +++ b/eio.opam.template @@ -0,0 +1,3 @@ +pin-depends: [ + [ "mdx.dev" "git+https://github.com/polytypic/mdx.git#7101533dedf90983e760d8a08f8bfeef4fedb89b" ] +]