Skip to content

Commit

Permalink
Fix the cram tests (OCamlPro#796)
Browse files Browse the repository at this point in the history
* Fix the cram test for the AB plugin

* Set a lower bound for ppx_blob

* Restore cram tests

* Add alt-ergo as a dependency for cram tests

* Use ppx_blob 0.7.2

* Review changes

* Prevent dune to compile examples
  • Loading branch information
Halbaroth authored Sep 6, 2023
1 parent 94b7ad0 commit 29009d2
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 4 deletions.
2 changes: 1 addition & 1 deletion alt-ergo-lib.opam
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ depends: [
"seq"
"fmt"
"stdlib-shims"
"ppx_blob"
"ppx_blob" {>= "0.7.2"}
"camlzip" {>= "1.07"}
"odoc" {with-doc}
]
Expand Down
1 change: 1 addition & 0 deletions dune
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
(data_only_dirs examples)
2 changes: 1 addition & 1 deletion dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ See more details on http://alt-ergo.ocamlpro.com/"
seq
fmt
stdlib-shims
ppx_blob
(ppx_blob (>= 0.7.2))
(camlzip (>= 1.07))
(odoc :with-doc)
)
Expand Down
8 changes: 7 additions & 1 deletion src/plugins/AB-Why3/preludes/dune
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,11 @@
)

(cram
(package alt-ergo-plugin-ab-why3)
(alias runtest-ci)
(deps b-set-theory-prelude-2018-09-28.ae b-set-theory-prelude-2020-02-28.ae))
(deps
%{bin:alt-ergo}
b-set-theory-prelude-2018-09-28.ae
b-set-theory-prelude-2020-02-28.ae
)
)
9 changes: 8 additions & 1 deletion src/preludes/dune
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,12 @@
)

(cram
(package alt-ergo)
(alias runtest-ci)
(deps fpa-theory-2017-01-04-16h00.ae fpa-theory-2019-06-14-11h00.ae fpa-theory-2019-10-08-19h00.ae))
(deps
%{bin:alt-ergo}
fpa-theory-2017-01-04-16h00.ae
fpa-theory-2019-06-14-11h00.ae
fpa-theory-2019-10-08-19h00.ae
)
)

0 comments on commit 29009d2

Please sign in to comment.