Re-enable mdx tests (#277)

ee-enable mdx tests
This commit is contained in:
Simon Cruanes 2019-12-10 15:48:58 -06:00 committed by GitHub
commit bf2dc512fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 10 deletions

View file

@ -10,7 +10,7 @@ build: [
["dune" "runtest" "-p" name "-j" jobs] {with-test} ["dune" "runtest" "-p" name "-j" jobs] {with-test}
] ]
depends: [ depends: [
"dune" { >= "1.1" } "dune" { >= "1.11" }
"dune-configurator" "dune-configurator"
"result" "result"
"uchar" "uchar"
@ -21,6 +21,7 @@ depends: [
"iter" { with-test } "iter" { with-test }
"gen" { with-test } "gen" { with-test }
"uutf" { with-test } "uutf" { with-test }
"mdx" { with-test & >= "1.5.0" & < "2.0.0" }
"odoc" { with-doc } "odoc" { with-doc }
"ocaml" { >= "4.02.0" } "ocaml" { >= "4.02.0" }
] ]

14
dune
View file

@ -1,8 +1,8 @@
(rule
(targets README.md.corrected)
(deps (package containers))
(action (run ocaml-mdx test %{dep:README.md} -o %{targets})))
;(alias (alias
; (name runtest) (name runtest)
; (deps README.md) (action (diff README.md README.md.corrected)))
; (action (progn
; (run mdx test %{deps})
; (diff? %{deps} %{deps}.corrected))))

View file

@ -1 +1 @@
(lang dune 1.0) (lang dune 1.1)