This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1,23 @@
|
|||
Test that dune doesn't allow the "with-test" solver variable to be set by the
|
||||
user.
|
||||
|
||||
Add a workspace that attempts to set the "with-test" variable:
|
||||
$ cat >dune-workspace <<EOF
|
||||
> (lang dune 3.8)
|
||||
> (lock_dir
|
||||
> (path dune.lock)
|
||||
> (solver_env
|
||||
> (with-test false)))
|
||||
> (context
|
||||
> (default
|
||||
> (name default)
|
||||
> (lock dune.lock)))
|
||||
> EOF
|
||||
|
||||
$ dune pkg print-solver-env
|
||||
File "dune-workspace", line 5, characters 2-19:
|
||||
5 | (with-test false)))
|
||||
^^^^^^^^^^^^^^^^^
|
||||
Error: Setting the "with-test" solver variable is not permitted as it would
|
||||
conflict with dune's internal use of "with-test" while solving opam packages.
|
||||
[1]
|
||||
Loading…
Add table
Add a link
Reference in a new issue