Skip to content
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

Get main test-suite running on Windows #773

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
6 changes: 6 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"ocaml.sandbox": {
"kind": "opam",
"switch": "5.2.0+afl"
}
}
1 change: 0 additions & 1 deletion lib_eio_windows/test/dune
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
(test
(name test)
(package eio_windows)
(build_if (= %{os_type} "Win32"))
(libraries alcotest kcas eio.mock eio_windows))
3 changes: 1 addition & 2 deletions tests/dune
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
(mdx
(package eio_main)
(enabled_if (<> %{os_type} "Win32"))
(deps
(env_var "EIO_BACKEND")
(package eio_main)))
(package eio_main)))
1 change: 1 addition & 0 deletions tests/fiber.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

# Setting up the environment

```ocaml
Expand Down
2 changes: 1 addition & 1 deletion tests/network.md
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ Exception: Eio.Io Fs Not_found _,
# Eio_main.run @@ fun env ->
Eio.Net.getaddrinfo ~service:"https" env#net "google.com";;
- : Eio.Net.Sockaddr.t list =
[`Tcp ("�:��", 443); `Udp ("�:��", 443);
[`Tcp ("Ø:ÔÎ", 443); `Udp ("Ø:ÔÎ", 443);
`Tcp ("*\000\020P@\t\b \000\000\000\000\000\000 \014", 443);
`Udp ("*\000\020P@\t\b \000\000\000\000\000\000 \014", 443)]
```
Expand Down
6 changes: 0 additions & 6 deletions tests/trace.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@
# open Eio.Std;;
# Eio_main.run @@ fun _env ->
traceln "One-line trace";
traceln "@[<v2>A nested list@,Foo@,Bar@]";
traceln "Trace with position" ~__POS__:("trace.md", 5, 1, 10);;
+One-line trace
+A nested list
+ Foo
+ Bar
+Trace with position [trace.md:5]
- : unit = ()
```