Skip to content

Fix --exclude - #110

Merged
fantazio merged 2 commits into
LexiFi:masterfrom
fantazio:exclude
Oct 2, 2026
Merged

fantazio merged 2 commits into
LexiFi:masterfrom
fantazio:exclude

Conversation

@fantazio

Copy link
Copy Markdown
Collaborator

Fix #109 as suggested by @nojb.

A new test scenario exclude is introduced to demonstrate the fix and identify future regressions.
It runs on all the examples but the ones in using_dune and using_make. Thus, it is equivalent to only running the examples in docs.

This tests the `--exclude` option. The new scenario runs on all the
examples but the ones in `using_dune` and `using_make`. Thus, it is
equivalent to only running the examples in `docs`.

The resuts contain a lot of false positives coming from the excluded
directories, showing the option is broken.
The `reject_empty_and_curr` predicate was inverted.

The false positives of the `--exclude` scenario are now fixed.

@nojb nojb left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@fantazio
fantazio merged commit b277dc7 into LexiFi:master Oct 2, 2026
23 checks passed
@fantazio
fantazio deleted the exclude branch October 2, 2026 08:43
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.

[BUG] --exclude is not working

2 participants