Skip to content

Commit

Permalink
update to latest prelude and smtml, add missings dev-setup deps
Browse files Browse the repository at this point in the history
  • Loading branch information
zapashcanon committed Jul 26, 2024
1 parent d120a83 commit 15f4696
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
7 changes: 5 additions & 2 deletions dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@
(integers
(>= 0.5.1))
ocaml_intrinsics
prelude
(prelude (>= 0.3))
sedlex
(smtml (>= 0.2.0))
(smtml (>= 0.2.3))
uutf
xmlm
(processor (>= 0.2))
Expand All @@ -73,11 +73,14 @@
(>= 0.1)
:with-dev-setup))
(crunch :with-dev-setup)
(extunix :with-dev-setup)
(crowbar :with-dev-setup)
(gnuplot :with-dev-setup)
(graphics :with-dev-setup)
(tiny_httpd :with-dev-setup)
(ocamlformat :with-dev-setup)
(rusage :with-dev-setup)
(tyxml :with-dev-setup)
(yaml :with-dev-setup)
)
(sites (share binc) (share libc)))
7 changes: 5 additions & 2 deletions owi.opam
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ depends: [
"digestif"
"integers" {>= "0.5.1"}
"ocaml_intrinsics"
"prelude"
"prelude" {>= "0.3"}
"sedlex"
"smtml" {>= "0.2.0"}
"smtml" {>= "0.2.3"}
"uutf"
"xmlm"
"processor" {>= "0.2"}
Expand All @@ -38,12 +38,15 @@ depends: [
"bisect_ppx" {>= "2.5" & with-dev-setup}
"ocb" {>= "0.1" & with-dev-setup}
"crunch" {with-dev-setup}
"extunix" {with-dev-setup}
"crowbar" {with-dev-setup}
"gnuplot" {with-dev-setup}
"graphics" {with-dev-setup}
"tiny_httpd" {with-dev-setup}
"ocamlformat" {with-dev-setup}
"rusage" {with-dev-setup}
"tyxml" {with-dev-setup}
"yaml" {with-dev-setup}
]
build: [
["dune" "subst"] {dev}
Expand Down
2 changes: 1 addition & 1 deletion src/cmd/cmd_utils.ml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ let out_testcase ~dst testcase =
let o = Xmlm.make_output ~nl:true ~indent:(Some 2) dst in
let tag atts name = (("", name), atts) in
let atts = [ (("", "coversError"), "true") ] in
let to_string v = Fmt.str "%a" Smtml.Value.pp_num v in
let to_string v = Fmt.str "%a" Smtml.Value.pp v in
let input v = `El (tag [] "input", [ `Data (to_string v) ]) in
let testcase = `El (tag atts "testcase", List.map input testcase) in
let dtd =
Expand Down

0 comments on commit 15f4696

Please sign in to comment.