Skip to content

Conversation

@eivindj-nordic
Copy link
Contributor

Use Kconfig to enable modules under test and some cleanup.

@eivindj-nordic eivindj-nordic self-assigned this Nov 27, 2025
@eivindj-nordic eivindj-nordic requested review from a team as code owners November 27, 2025 13:36
@github-actions github-actions bot added the changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. label Nov 27, 2025
@github-actions
Copy link

You can find the documentation preview for this PR here.

@eivindj-nordic eivindj-nordic force-pushed the unit_test_kconfig_cleanup branch from 9522f44 to 3eea0ce Compare November 27, 2025 13:42
@eivindj-nordic eivindj-nordic removed the changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. label Nov 27, 2025
@eivindj-nordic
Copy link
Contributor Author

Touching tests only, no changelog required.

@eivindj-nordic eivindj-nordic force-pushed the unit_test_kconfig_cleanup branch from 3eea0ce to 2f119f9 Compare November 27, 2025 14:55
@github-actions github-actions bot added the changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. label Nov 27, 2025
@eivindj-nordic eivindj-nordic removed the changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. label Nov 27, 2025
)

target_include_directories(app PRIVATE
zephyr_include_directories(app PRIVAT
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PRIVAT

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should actually be removed.

Comment on lines 1 to 2
# Clear dependencies for BLE_QWR and enable it to allow
# testing the features without enabling the library.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This wording could be improved, what about

Redefine this symbol without dependencies, so that tests
can enable it without having to enable the dependencies too

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

config BLE_BAS
default y

# Redefine Kconfigs used by the tested module that is defined in
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that are defined

@eivindj-nordic eivindj-nordic force-pushed the unit_test_kconfig_cleanup branch from 2f119f9 to dbf6b07 Compare November 28, 2025 09:54
@github-actions github-actions bot added the changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. label Nov 28, 2025
@eivindj-nordic eivindj-nordic removed the changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. label Nov 28, 2025
@eivindj-nordic eivindj-nordic added this to the v1.0.0 milestone Nov 28, 2025
@eivindj-nordic eivindj-nordic force-pushed the unit_test_kconfig_cleanup branch from dbf6b07 to 09738d5 Compare November 28, 2025 15:27
@github-actions github-actions bot added the changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. label Nov 28, 2025
Use Kconfig to enable modules under test and some cleanup.

Signed-off-by: Eivind Jølsgard <[email protected]>
@eivindj-nordic eivindj-nordic force-pushed the unit_test_kconfig_cleanup branch from 09738d5 to 3e8e657 Compare November 28, 2025 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants