Skip to content

runtest now changes directories to dune project root #12250

@ajbt200128

Description

@ajbt200128

Expected Behavior

in dune versions before 3.20, dune runtest my/path would always run the test in $(pwd)/my/path. So if we we ran dune runtest in project-root/somelib/, with my/path being a subdir in somelib it would correctly run the test in project-root/somelib/my/path

Actual Behavior

In dune 3.20, runtest will now change the directory to the project root. So if we run the same example as above, dune will try to run project-root/my/path instead of project-root/somelib/my/path

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions