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

Disable BUILD_EPOCH for unit tests #5723

Merged
merged 1 commit into from
Jan 2, 2025
Merged

Conversation

esev
Copy link
Contributor

@esev esev commented Jan 2, 2025

PlatformIO runs the build step for each unit test. This builds only the unit test files as long as the other source files don't change. But setting BUILD_EPOCH to $UNIX_TIME will trigger a full rebuild of the source for each unit test. This also has a side-effect of resetting the incremental coverage data before each test. This PR adds a step to disable adding the BUILD_EPOCH define while running the unit tests.

@thebentern thebentern merged commit b41efc1 into meshtastic:master Jan 2, 2025
50 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