Skip to content

Commit

Permalink
Update odoc tests
Browse files Browse the repository at this point in the history
These now work for libs defined in the same dir
  • Loading branch information
rgrinberg committed Jan 19, 2018
1 parent a68742f commit 35d716b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
6 changes: 4 additions & 2 deletions test/blackbox-tests/test-cases/multiple-private-libs/run.t
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@ This test checks that there is no clash when two private libraries have the same
ocamldep b/test.depends.ocamldep-output
ocamldep b/test.dependsi.ocamldep-output
ocamlc a/test.{cmi,cmo,cmt}
odoc _doc/test@a/page-index.odoc
ocamlc b/test.{cmi,cmo,cmt}
odoc a/test.odoc
odoc b/test.odoc
odoc _doc/test@b/page-index.odoc
odoc _doc/test@a/test.odoc
odoc _doc/test@b/test.odoc
odoc _doc/test@a/index.html
odoc _doc/test@a/Test/.jbuilder-keep,_doc/test@a/Test/index.html
odoc _doc/test@b/index.html
Expand Down
10 changes: 8 additions & 2 deletions test/blackbox-tests/test-cases/odoc/run.t
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,18 @@
ocamldep foo.dependsi.ocamldep-output
odoc _doc/odoc.css
ocamlc foo_byte.{cmi,cmo,cmt}
odoc _doc/foo.byte/page-index.odoc
odoc _doc/foo.byte/page-test.odoc
ocamlc foo.{cmi,cmo,cmt}
odoc foo_byte.odoc
odoc foo.odoc
odoc _doc/foo/page-index.odoc
odoc _doc/foo/page-test.odoc
odoc _doc/foo.byte/foo_byte.odoc
odoc _doc/foo/foo.odoc
odoc _doc/foo.byte/index.html
odoc _doc/foo.byte/test.html
odoc _doc/foo.byte/Foo_byte/.jbuilder-keep,_doc/foo.byte/Foo_byte/index.html
odoc _doc/foo/index.html
odoc _doc/foo/test.html
odoc _doc/foo/Foo/.jbuilder-keep,_doc/foo/Foo/index.html
$ $JBUILDER runtest -j1 --root .
<!DOCTYPE html>
Expand Down

0 comments on commit 35d716b

Please sign in to comment.