-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
drop old ztest API #63723
drop old ztest API #63723
Conversation
nashif
commented
Oct 10, 2023
- ztest: enable ZTEST_NEW_API by default
- tests: remove CONFIG_ZTEST_NEW_API in all tests
- cmsis_dsp: remove handling of old ztest API
- tests: sensor: do not depend on ZTEST_NEW_API
- drivers: fake: remove special handling for new ztest APIs
- ztest: remove old ztest api
- doc:ztest: adapt ztest docs
f8defee
to
4f84e39
Compare
Enable by default so we can remove kconfigs from tests/samples and keep things working as before. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Remove all usage of CONFIG_ZTEST_NEW_API from tests and sample as this is now enabled by default. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Old ztest API is deprecated, so no need for the conditional code here. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Old ztest API is deprecated, so no need for the conditional code here. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
4f84e39
to
4ba26d2
Compare
Remove remaining usage and documenation of dropped kconfig that is now the default. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
47d8acd
to
3b042cb
Compare
Looks like our bot missed the manifest change in this PR. Marking as DNM until zephyrproject-rtos/zscilib#55 is merged and the manifest updated. |
hmm, interesting, @carlescufi any idea why it was missed? |
Just identified the issue, will send a PR |
Merged |
Remove usage of obsolete Kconfig in module. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
8080602
3b042cb
to
8080602
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Flash, VFS and MCUmgr OK.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
conn_mgr changes LGTM. No comment on other changes
CONFIG_ZTEST_NEW_API was removed in zephyrproject-rtos#63723 Tests still using it cause compliance failures. So let's fix it. Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
CONFIG_ZTEST_NEW_API was removed in zephyrproject-rtos#63723 Tests still using it cause compliance failures. So let's fix it. Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
CONFIG_ZTEST_NEW_API was removed in zephyrproject-rtos#63723 Tests still using it cause compliance failures. So let's fix it. Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
CONFIG_ZTEST_NEW_API was removed in zephyrproject-rtos#63723 Tests still using it cause compliance failures. So let's fix it. Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>