Skip to content

Commit

Permalink
test(pkg: extend test to reproduce #11096 (#11098)
Browse files Browse the repository at this point in the history
Signed-off-by: Etienne Marais <dev@maiste.fr>
  • Loading branch information
maiste authored Nov 5, 2024
1 parent c5d51c3 commit e7f8e13
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion test/blackbox-tests/test-cases/pkg/implicit-dune-constraint.t
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
By default, we introduce a constraint on in the build plan that will require
the dune version to match the version of dune being used to generate the
constraint.
constraint. On another hand, we ensure `dune` can be used as a declared
dependency.

$ . ./helpers.sh
$ mkrepo
Expand Down Expand Up @@ -28,3 +29,15 @@ constraint.
$ test "4.0.0"
Solution for dune.lock:
- foo.0.0.1

Create a fake project and ensure `dune` can be used as a dependency:
$ cat > dune-project <<EOF
> (lang dune 3.13)
> (package
> (name bar)
> (allow_empty)
> (depends dune))
> EOF
$ dune pkg lock 2>&1 | head -2
Internal error, please report upstream including the contents of _build/log.
Description:

0 comments on commit e7f8e13

Please sign in to comment.