Skip to content

ocamltest negation: not <action>;#14502

Merged
gasche merged 7 commits intoocaml:trunkfrom
gasche:ocamltest-negation-3
Jan 30, 2026
Merged

ocamltest negation: not <action>;#14502
gasche merged 7 commits intoocaml:trunkfrom
gasche:ocamltest-negation-3

Conversation

@gasche
Copy link
Copy Markdown
Member

@gasche gasche commented Jan 29, 2026

not <action>; performs <action>, passes if it skips and skips if it passes. This is intended to be used for predicate-like action which have no other observable behavior than passing or skipping. For example, not msvc; is equivalent to not-msvc;, and in fact that PR removes the latter action.

(This PR updates existing tests to use not, it removes all actions that are obviously the negative of something that is more natural to define, except for not_macos_amd64_tsan which would require conjunction and not-root which I felt like leaving alone.)

@gasche gasche mentioned this pull request Jan 29, 2026
Copy link
Copy Markdown
Contributor

@OlivierNicole OlivierNicole left a comment

Choose a reason for hiding this comment

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

This looks good to me! :-)

@gasche gasche force-pushed the ocamltest-negation-3 branch from 5aac6fb to 71d3bc3 Compare January 30, 2026 19:33
@gasche gasche merged commit 28608ad into ocaml:trunk Jan 30, 2026
21 of 22 checks passed
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