Skip to content

Commit

Permalink
Merge pull request #85 from ocaml-community/ocaml-prerelease-test
Browse files Browse the repository at this point in the history
test suite: add OCaml prerelease
  • Loading branch information
mjambon authored May 25, 2023
2 parents 79d6f0e + c83c06f commit d90d2a9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion test/dune
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
(action
(with-stdout-to
%{targets}
(run %{bin:cppo} -V X:123.05.2-alpha.1+foo-2.1 -V COQ:8.13+beta1 %{<}))))
(run %{bin:cppo} -V X:123.05.2-alpha.1+foo-2.1 -V COQ:8.13+beta1 -V OCAML:4.12.0~alpha1 %{<}))))

(rule
(targets test.out)
Expand Down
2 changes: 2 additions & 0 deletions test/version.cppo
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,5 @@ patch: X_PATCH
#endif

Coq: COQ_VERSION

OCaml pre-release: OCAML_PRERELEASE
5 changes: 5 additions & 0 deletions test/version.ref
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,8 @@ patch:
Coq:
# 32 "version.cppo"
(8, 13, 0)

# 34 "version.cppo"
OCaml pre-release:
# 34 "version.cppo"
alpha1

0 comments on commit d90d2a9

Please sign in to comment.