Skip to content

test stanza does not respect their package field #1231

@samoht

Description

@samoht

In mirage/ocaml-cohttp#631

I got this dune file, defining a test belonging to the cohttp-async package:

(test
  (name      test_async_integration)
  (package   cohttp-async)
  (libraries cohttp_async_test async_unix base core async_kernel oUnit
             cohttp-async))

but I got:

$ dune runtest -p cohttp-lwt-jsoo
...
File "cohttp-async/test/dune", line 5, characters 13-25:
Error: Library "cohttp-async" not found.
Hint: try: dune external-lib-deps --missing -p cohttp-lwt-jsoo @runtest
...

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions