Skip to content

Adding binaries into the PATH in a hierarchy doesn't work #4976

@Leonidas-from-XIV

Description

@Leonidas-from-XIV

Expected Behavior

When specifying binaries via (env) it is expected that the binaries would be accessible in cram tests and can be used.

Actual Behavior

It works when the (env) stanza is in the same folder as the cram test but if the env call is in an higher up folder, the PATH gets populated with the entry for injecting the binaries (.bin) but no such folder is created and no binaries are symlinked into it.

Reproduction

Specifications

  • Version of dune (output of dune --version): 2.9.1
  • Version of ocaml (output of ocamlc --version): 4.12.0
  • Operating system (distribution and version): Fedora Linux 34

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions