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

tests: disable only sound-related notification tests if without wavparse #1550

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ziyao233
Copy link

Only sound-related tests require gstreamer wavparse plugin for validation, so it's okay to disable test_notification_sound but keep other notification tests.

This also fixes link failures when wavparse isn't available: we previously excluded notification.c from the source list in the missing case, but still used test_notification_* symbols in test-portals.c.

Fixes: 1c6dd18 ("tests: Check for required WAV decoder for notification tests")

Only sound-related tests require gstreamer wavparse plugin for
validation, so it's okay to disable test_notification_sound but keep
other notification tests.

This also fixes link failures when wavparse isn't available: we
previously excluded notification.c from the source list in the missing
case, but still used test_notification_* symbols in test-portals.c.

Fixes: 1c6dd18 ("tests: Check for required WAV decoder for notification tests")
Signed-off-by: Yao Zi <ziyao@disroot.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Needs Triage
Development

Successfully merging this pull request may close these issues.

1 participant