Support for ppx_inline_test flags
Nobody has claimed this yet.
- Dominant language
- OCaml
- Stars
- 1.9k
- Forks
- 500
- Avg merge
- 15h 21m
- Merged PRs (30d)
- 277
Description
Tests written using ppx_inline_test can be disabled or enabled depending on some tags.
We can disable irrelevant tests using inline test flags:
(inline_tests (modes js) (flags -drop-tag no-js -drop-tag 64-bits-only))
But this does not work well when several modes are enabled.
Maybe dune could select automatically the appropriate flags depending on the mode and the host architecture.
Alternatively, it could be convenient to be able to set the inline test flags depending on the mode. Maybe the mode could be available as a variable?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue does not name files or tests. Start by tracing how Dune handles inline_tests modes and flags, then determine how host architecture and mode-dependent values could be represented; done would mean flags can be selected appropriately across multiple modes or configured by mode.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ocaml
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100