Skip to content

Commit 75975c4

Browse files
committed
Constraint unstable tests
1 parent 63229eb commit 75975c4

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

test/cli/dune

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,6 @@
55
(cram
66
(applies_to large_string conf removed_option repl_file_errors debug)
77
(enabled_if
8-
(<> %{os_type} Win32)))
8+
(and
9+
(>= %{ocaml_version} 5.3.0)
10+
(<> %{os_type} Win32))))

test/passing/gen/dune.inc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4482,6 +4482,7 @@
44824482

44834483
(rule
44844484
(deps .ocamlformat)
4485+
(enabled_if (>= %{ocaml_version} 5.3.0))
44854486
(package ocamlformat)
44864487
(action
44874488
(with-stdout-to option.ml.stdout
@@ -4490,11 +4491,13 @@
44904491

44914492
(rule
44924493
(alias runtest)
4494+
(enabled_if (>= %{ocaml_version} 5.3.0))
44934495
(package ocamlformat)
44944496
(action (diff option.ml.ref option.ml.stdout)))
44954497

44964498
(rule
44974499
(alias runtest)
4500+
(enabled_if (>= %{ocaml_version} 5.3.0))
44984501
(package ocamlformat)
44994502
(action (diff option.ml.err option.ml.stderr)))
45004503

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
(>= %{ocaml_version} 5.3.0)

0 commit comments

Comments
 (0)