Skip to content

Conversation

@Sudha247
Copy link
Collaborator

@Sudha247 Sudha247 commented Jan 7, 2026

Making the test build from multiple contexts as discussed in #13217. This is a minimal change compared to #13127.

version: 0.0.1

$ dune build @@_build/foo/pkg-install
building from foo
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is strange is that I don't observe this behaviour myself in #13237. @rgrinberg any idea what the difference is? There, in each context, context_name is reported as default.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What if instead of dune exec you dune build _build/<context>/target and then execute the binaries? Maybe the issue is that dune exec is not passing the context to the build properly?

Signed-off-by: Sudha Parimala <sudharg247@gmail.com>
Signed-off-by: Sudha Parimala <sudharg247@gmail.com>
Signed-off-by: Sudha Parimala <sudharg247@gmail.com>
@Sudha247 Sudha247 force-pushed the per-context-test-fix branch from 718e57f to 66f51f9 Compare January 9, 2026 10:53
@Sudha247
Copy link
Collaborator Author

Sudha247 commented Jan 9, 2026

The benchmark failure seems unrelated; merging. Thanks for the reviews.

@Sudha247 Sudha247 merged commit 9523554 into ocaml:main Jan 9, 2026
29 of 30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants