Skip to content

Commit

Permalink
Add repro case for ocaml#6153
Browse files Browse the repository at this point in the history
Signed-off-by: Etienne Millon <[email protected]>
  • Loading branch information
emillon committed Oct 5, 2022
1 parent 23dee81 commit 54ed0a8
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions test/blackbox-tests/test-cases/github6153.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
$ cat > ./dune-project << EOF
> (lang dune 2.9)
> (package (name pub))
> EOF

$ cat > dune << EOF
> (library
> (public_name pub)
> (modules pub)
> (libraries priv))
>
> (library
> (name priv)
> (modules priv)
> (package pub)
> (libraries dep))
>
> (library
> (name dep)
> (modules dep))
> EOF

$ touch pub.ml
$ touch priv.ml
$ touch dep.ml

$ mkdir bin

$ cat > ./bin/dune-project << EOF
> (lang dune 2.9)
> EOF

$ cat > ./bin/dune << EOF
> (executable
> (name prog)
> (libraries pub))
> EOF

$ touch ./bin/prog.ml

$ dune build 2>&1 | head -n 3
Internal error, please report upstream including the contents of _build/log.
Description:
("Unexpected find result", { found = Not_found; lib.name = "dep" })

0 comments on commit 54ed0a8

Please sign in to comment.