Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
hhugo committed Jan 13, 2023
1 parent 57c757f commit 49e7fbe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/tests/dune.inc
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
(library
;; lib/tests/test_fun_call.ml
(name test_fun_call_75)
(enabled_if true)
(enabled_if (<> %{profile} using-effects))
(modules test_fun_call)
(libraries js_of_ocaml unix)
(inline_tests (modes js))
Expand Down
5 changes: 4 additions & 1 deletion lib/tests/gen-rules/gen.ml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,12 @@ let prefix : string =

type enabled_if =
| GE5
| No_effects
| Any

let enabled_if = function
| "test_sys" -> GE5
| "test_fun_call" -> No_effects
| _ -> Any

let () =
Expand All @@ -77,5 +79,6 @@ let () =
(Hashtbl.hash prefix mod 100)
(match enabled_if basename with
| Any -> "true"
| GE5 -> "(>= %{ocaml_version} 5)")
| GE5 -> "(>= %{ocaml_version} 5)"
| No_effects -> "(<> %{profile} using-effects)")
basename)

0 comments on commit 49e7fbe

Please sign in to comment.