Skip to content

Commit

Permalink
fix tests on non-linux
Browse files Browse the repository at this point in the history
  • Loading branch information
c-cube committed Jan 5, 2022
1 parent 111e2da commit 4aade13
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/dune
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
(rule
(alias runtest)
(package tiny_httpd_camlzip)
(enabled_if (= %{system} "linux"))
(action (diff echo1.expect echo1.out)))

(rule
Expand All @@ -23,6 +24,7 @@
(rule
(alias runtest)
(package tiny_httpd)
(enabled_if (= %{system} "linux"))
(action (diff sse_count.expect sse_count.out)))

(rule
Expand All @@ -37,6 +39,7 @@
(rule
(alias runtest)
(package tiny_httpd)
(enabled_if (= %{system} "linux"))
(action (diff upload-out.expect upload-out)))

(rule
Expand All @@ -51,10 +54,12 @@
(rule
(alias runtest)
(package tiny_httpd)
(enabled_if (= %{system} "linux"))
(action (diff dl-out.expect dl-out)))


(rule
(targets foo_50)
(enabled_if (= %{system} "linux"))
(action
(bash "dd if=/dev/zero of=%{targets} bs=1M count=50")))

0 comments on commit 4aade13

Please sign in to comment.