Skip to content

fix(test): run the bundled tests on macOS and fail without test files - #362

Merged
theEvilReaper merged 1 commit into
developfrom
fix/testBundledMacos
Nov 29, 2026
Merged

theEvilReaper merged 1 commit into
developfrom
fix/testBundledMacos

Conversation

@theEvilReaper

@theEvilReaper theEvilReaper commented Nov 29, 2026 •

Copy link
Copy Markdown
Collaborator

Proposed changes

The bundled test script relied on nproc and find -printf, which macOS does not ship, so it stopped right away there. Worse, a failing find inside the process substitution slipped past set -e and left an empty file list, which would have run only the two separate files and still passed. Both now use commands that Linux and macOS share, and the script exits with an error when it finds no test files. A local run on macOS reports the same 2375 tests as the plain flutter test.

Types of changes

What types of changes does your code introduce to this project?
Put an x in the boxes that apply

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update (if none of the other choices apply)

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of
them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before
merging your code.

  • I have read the CONTRIBUTING.md
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

@github-actions github-actions Bot added the bug Something isn't working label Nov 29, 2026
@theEvilReaper theEvilReaper self-assigned this Nov 29, 2026
@theEvilReaper
theEvilReaper merged commit a8eb48b into develop Nov 29, 2026
20 checks passed
@theEvilReaper
theEvilReaper deleted the fix/testBundledMacos branch November 29, 2026 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant