Skip to content

Commit 8ce161d

Browse files
committed
Skip tests by os_type
1 parent acb2ad5 commit 8ce161d

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
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
@@ -897,7 +897,7 @@ perhaps with `open_dir` to constrain all access to be within that directory.
897897

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

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

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

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

935-
<!-- $MDX non-deterministic=command -->
935+
<!-- $MDX os_type<>Win32 -->
936936
```ocaml
937937
# Eio_main.run @@ fun env ->
938938
let proc_mgr = Eio.Stdenv.process_mgr env in

dune-project

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
(domain-local-await (>= 0.1.0))
2929
(crowbar (and (>= 0.2) :with-test))
3030
(mtime (>= 2.0.0))
31-
(mdx (and (>= 2.2.0) :with-test))
31+
(mdx (and (>= 2.3.1) :with-test))
3232
(dscheck (and (>= 0.1.0) :with-test))))
3333
(package
3434
(name eio_linux)
@@ -38,7 +38,7 @@
3838
(depends
3939
(alcotest (and (>= 1.7.0) :with-test))
4040
(eio (= :version))
41-
(mdx (and (>= 2.2.0) :with-test))
41+
(mdx (and (>= 2.3.1) :with-test))
4242
(logs (>= 0.7.0))
4343
(fmt (>= 0.8.9))
4444
(cmdliner (and (>= 1.1.0) :with-test))
@@ -51,7 +51,7 @@
5151
(depends
5252
(eio (= :version))
5353
(iomux (>= 0.2))
54-
(mdx (and (>= 2.2.0) :with-test))
54+
(mdx (and (>= 2.3.1) :with-test))
5555
(fmt (>= 0.8.9))))
5656
(package
5757
(name eio_windows)
@@ -67,7 +67,7 @@
6767
(synopsis "Effect-based direct-style IO mainloop for OCaml")
6868
(description "Selects an appropriate Eio backend for the current platform.")
6969
(depends
70-
(mdx (and (>= 2.2.0) :with-test))
70+
(mdx (and (>= 2.3.1) :with-test))
7171
(kcas (and (>= 0.3.0) :with-test))
7272
(yojson (and (>= 2.0.2) :with-test))
7373
(eio_linux (and (= :version) (= :os "linux")))

eio.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ depends: [
2121
"domain-local-await" {>= "0.1.0"}
2222
"crowbar" {>= "0.2" & with-test}
2323
"mtime" {>= "2.0.0"}
24-
"mdx" {>= "2.2.0" & with-test}
24+
"mdx" {>= "2.3.1" & with-test}
2525
"dscheck" {>= "0.1.0" & with-test}
2626
"odoc" {with-doc}
2727
]

eio_linux.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ depends: [
1212
"dune" {>= "3.9"}
1313
"alcotest" {>= "1.7.0" & with-test}
1414
"eio" {= version}
15-
"mdx" {>= "2.2.0" & with-test}
15+
"mdx" {>= "2.3.1" & with-test}
1616
"logs" {>= "0.7.0"}
1717
"fmt" {>= "0.8.9"}
1818
"cmdliner" {>= "1.1.0" & with-test}

eio_main.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ doc: "https://ocaml-multicore.github.io/eio/"
1010
bug-reports: "https://github.com/ocaml-multicore/eio/issues"
1111
depends: [
1212
"dune" {>= "3.9"}
13-
"mdx" {>= "2.2.0" & with-test}
13+
"mdx" {>= "2.3.1" & with-test}
1414
"kcas" {>= "0.3.0" & with-test}
1515
"yojson" {>= "2.0.2" & with-test}
1616
"eio_linux" {= version & os = "linux"}

eio_posix.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ depends: [
1212
"dune" {>= "3.9"}
1313
"eio" {= version}
1414
"iomux" {>= "0.2"}
15-
"mdx" {>= "2.2.0" & with-test}
15+
"mdx" {>= "2.3.1" & with-test}
1616
"fmt" {>= "0.8.9"}
1717
"odoc" {with-doc}
1818
]

0 commit comments

Comments
 (0)