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 playlist api headers and add tests #875

Merged
merged 2 commits into from
Mar 26, 2025

Conversation

kblaschke
Copy link
Member

Fixes issues mentioned in PR #874 and also adds buildsystem-based compilation tests with proper CMake-based dependency management (e.g. the compile test is re-executed every time an API header changes).

Most playlist headers did not compile in pure C, as types like bool and size_t are used in calls. Added the proper includes as needed to make each header compile if included standalone.
@kblaschke kblaschke force-pushed the fix-playlist-api-headers-and-add-tests branch 4 times, most recently from 7b7afdd to adff933 Compare March 24, 2025 08:57
This will enable any future changes to the header to be tested. These additional build checks are only executed if BUILD_TESTING is enabled (e.g. in our automated build checks) to speed up release builds.
@kblaschke kblaschke force-pushed the fix-playlist-api-headers-and-add-tests branch from adff933 to b742bc0 Compare March 24, 2025 09:00
Copy link
Collaborator

@revmischa revmischa left a comment

Choose a reason for hiding this comment

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

thanks!

@kblaschke kblaschke merged commit b742bc0 into master Mar 26, 2025
18 checks passed
@kblaschke kblaschke deleted the fix-playlist-api-headers-and-add-tests branch March 26, 2025 08:26
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