Skip to content

test: expose external build dir install paths - #15087

Merged
rgrinberg merged 1 commit into
ocaml:mainfrom
rgrinberg:test-external-build-dir-install-paths
Jun 9, 2026
Merged

rgrinberg merged 1 commit into
ocaml:mainfrom
rgrinberg:test-external-build-dir-install-paths

Conversation

@rgrinberg

@rgrinberg rgrinberg commented Jun 9, 2026 •

Copy link
Copy Markdown
Member

This extracts the regression coverage from #15077 into a standalone test-only PR.

The new tests demonstrate #11774 by expecting installed dune-package artifact paths to be relative even when DUNE_BUILD_DIR is an absolute directory outside the workspace. This PR is expected to fail until the fix from #15077 (or equivalent) is applied.

@rgrinberg
rgrinberg force-pushed the test-external-build-dir-install-paths branch from b13f702 to e3412db Compare June 9, 2026 20:01
@rgrinberg
rgrinberg merged commit 756416b into ocaml:main Jun 9, 2026
29 checks passed
rgrinberg added a commit that referenced this pull request Jul 8, 2026
Make `Path.reach` compute relative paths when both paths are external.
This lets installed `dune-package` files use relative artifact paths
even when `DUNE_BUILD_DIR` is an absolute external build directory.

Regression coverage has been split out into #15087.

Closes #11774.

Signed-off-by: Rudi Grinberg <[email protected]>
@Alizter Alizter added this to the 3.25.0 milestone Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants