Skip to content

ci: A new C++ cmocka test skips the macOS and Windows Tier 2 jobs that compile it #610

Closed

Description

@zackees

#603 and #605 each added a Qt C++ cmocka test (test_preview_audio_sources, test_source_select_list). They passed CI because ci/ci_scope.py treats test/cmocka/ as Linux-only, but every platform's Tier 2 compiles those tests with its own compiler and standard library. After they merged, master's Rust Tier 2 failed on Windows (MSVC C1189, inline macro) and macOS (libc++ <ios> vs cmocka's fail() macro). #607 fixes the two tests.

Fix: in ci_scope.py, C++ test sources (test/cmocka/*.cpp) and the test build configuration (test/cmocka/CMakeLists.txt, test/cmocka/tests.d/*.cmake) count as shared, which turns on the macOS and Windows jobs. Plain C test sources stay Linux-only, so most test-only PRs keep the fast path. RED: cases in ci/test_ci_scope.py.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    claimed

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions