-
Notifications
You must be signed in to change notification settings - Fork 392
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #522 from rgrinberg/duplicate-mlds
Test to reproduce bug with duplicate mld's in same package
- Loading branch information
Showing
13 changed files
with
65 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
5 changes: 5 additions & 0 deletions
5
test/blackbox-tests/test-cases/odoc-unique-mlds/diff-scope/scope1/jbuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
(jbuild_version 1) | ||
|
||
(library | ||
((name scope1) | ||
(public_name scope1))) |
Empty file.
Empty file.
5 changes: 5 additions & 0 deletions
5
test/blackbox-tests/test-cases/odoc-unique-mlds/diff-scope/scope2/jbuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
(jbuild_version 1) | ||
|
||
(library | ||
((name scope2) | ||
(public_name scope2))) |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
Duplicate mld's in the same scope | ||
$ $JBUILDER build @doc -j1 --display short --root ./same-scope 2>&1 | grep -v Entering | ||
odoc _doc/odoc.css | ||
odoc _doc/root.lib1/page-index.odoc | ||
odoc _doc/root.lib1/page-test.odoc | ||
ocamlc lib1/.root_lib1.objs/root_lib1.{cmi,cmo,cmt} | ||
odoc _doc/root.lib2/page-index.odoc | ||
odoc _doc/root.lib2/page-test.odoc | ||
ocamlc lib2/.root_lib2.objs/root_lib2.{cmi,cmo,cmt} | ||
odoc _doc/root.lib1/root_lib1.odoc | ||
odoc _doc/root.lib2/root_lib2.odoc | ||
odoc _doc/root.lib1/index.html | ||
odoc _doc/root.lib1/test.html | ||
odoc _doc/root.lib1/Root_lib1/.jbuilder-keep,_doc/root.lib1/Root_lib1/index.html | ||
odoc _doc/root.lib2/index.html | ||
odoc _doc/root.lib2/test.html | ||
odoc _doc/root.lib2/Root_lib2/.jbuilder-keep,_doc/root.lib2/Root_lib2/index.html | ||
Duplicate mld's in different scope | ||
$ $JBUILDER build @doc -j1 --display short --root ./diff-scope 2>&1 | grep -v Entering | ||
odoc _doc/odoc.css | ||
odoc _doc/scope1/page-foo.odoc | ||
odoc _doc/scope1/page-index.odoc | ||
ocamlc scope1/.scope1.objs/scope1.{cmi,cmo,cmt} | ||
odoc _doc/scope2/page-foo.odoc | ||
odoc _doc/scope2/page-index.odoc | ||
ocamlc scope2/.scope2.objs/scope2.{cmi,cmo,cmt} | ||
odoc _doc/scope1/scope1.odoc | ||
odoc _doc/scope2/scope2.odoc | ||
odoc _doc/scope1/foo.html | ||
odoc _doc/scope1/index.html | ||
odoc _doc/scope1/Scope1/.jbuilder-keep,_doc/scope1/Scope1/index.html | ||
odoc _doc/scope2/foo.html | ||
odoc _doc/scope2/index.html | ||
odoc _doc/scope2/Scope2/.jbuilder-keep,_doc/scope2/Scope2/index.html |
5 changes: 5 additions & 0 deletions
5
test/blackbox-tests/test-cases/odoc-unique-mlds/same-scope/lib1/jbuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
(jbuild_version 1) | ||
|
||
(library | ||
((name root_lib1) | ||
(public_name root.lib1))) |
Empty file.
5 changes: 5 additions & 0 deletions
5
test/blackbox-tests/test-cases/odoc-unique-mlds/same-scope/lib2/jbuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
(jbuild_version 1) | ||
|
||
(library | ||
((name root_lib2) | ||
(public_name root.lib2))) |
Empty file.
Empty file.