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

Fix lots of Greentea test warnings #365

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

multiplemonomials
Copy link
Collaborator

Summary of changes

Ever since I've started on Mbed CE, there have been ludicrous amounts of warnings every time the greentea tests are compiled. The vast majority of these are due to tests using deprecated API, especially legacy RTOS functions that don't use chrono types. This PR fixes at least 90% of these warnings, so the greentea build is now a much more warning-free experience. There are still a few here and there but it's a lot better now at least.

Someday I want to fix all of the warnings and then make the CI builds use -Werror but... not today.

Impact of changes

Way less warnings in Greentea test builds

Migration actions required

Documentation

None


Pull request type

[X] Patch update (Bug fix / Target update / Docs update / Test update / Refactor)
[] Feature update (New feature / Functionality change / New API)
[] Major update (Breaking change E.g. Return code change / API behaviour change)

Test results

[] No Tests required for this change (E.g docs only update)
[X] Covered by existing mbed-os tests (Greentea or Unittest)
[] Tests / results supplied as part of this PR

@multiplemonomials multiplemonomials merged commit f0b9d65 into master Sep 26, 2024
10 checks passed
@multiplemonomials multiplemonomials deleted the dev/fix-greentea-warnings branch September 26, 2024 19:18
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