test/blackbox-tests/test-cases/stanzas/mdx-stanza/local-package-unrelated.t/run.t
raw| 1 | Dune does not fail if the `packages` are not available at evaluation time |
| 2 | (regression test fixed by ocaml/dune#3650) |
| 3 | |
| 4 | $ dune build -p unrelated-package |
| 5 | |
| 6 | Dune fails if the `packages` are not available at execution time |
| 7 | |
| 8 | $ dune runtest -p unrelated-package |
| 9 | File "dune", line 3, characters 11-14: |
| 10 | 3 | (packages pkg)) |
| 11 | ^^^ |
| 12 | Error: Package pkg does not exist |
| 13 | [1] |