Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test example sketches even when no platforms are selected #266

Open
ianfixes opened this issue Jan 7, 2021 · 0 comments
Open

Test example sketches even when no platforms are selected #266

ianfixes opened this issue Jan 7, 2021 · 0 comments
Labels
ci scripts The test runner scripts enhancement New feature or request

Comments

@ianfixes
Copy link
Collaborator

ianfixes commented Jan 7, 2021

Feature request: test sketches even when no platforms are selected

Currently, there is tension between the EXPECT_EXAMPLES configuration variable and the platform configuration for an example sketch. If EXPECT_EXAMPLES is set, it won't allow any individual example to be configured with no platforms (as might be the maintainers intention).

If no platforms are configured for a sketch, it would be better to simply perform a syntax check on the files themselves but not a full compilation. This would require backend support (not because I can't run gcc -c myself, but because I would be reliant on the backend to supply the correct list of files).

Depends on arduino/arduino-cli#1128

@ianfixes ianfixes added enhancement New feature or request ci scripts The test runner scripts labels Jan 7, 2021
@ianfixes ianfixes added this to the Potentially Backend milestone Jan 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci scripts The test runner scripts enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant