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

@ -366,7 +366,7 @@ val map : string IntMap.t = <abstr>
(IntMap.pp CCFormat.int CCFormat.string_quoted)
map;;
map =
1->"1", 2->"2", 3->"3", 4->"4", 5->"5",
1->"1", 2->"2", 3->"3", 4->"4", 5->"5",
6->"6", 7->"7", 8->"8", 9->"9"
- : unit = ()

View file

@ -10,7 +10,7 @@ build: [
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]
depends: [
"dune" { >= "1.1" }
"dune" { >= "1.11" }
"dune-configurator"
"result"
"uchar"
@ -21,6 +21,7 @@ depends: [
"iter" { with-test }
"gen" { with-test }
"uutf" { with-test }
"mdx" { with-test & >= "1.5.0" & < "2.0.0" }
"odoc" { with-doc }
"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
; (name runtest)
; (deps README.md)
; (action (progn
; (run mdx test %{deps})
; (diff? %{deps} %{deps}.corrected))))
(alias
(name runtest)
(action (diff README.md README.md.corrected)))

View file

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