Skip to content

Create unit tests for compiler warning feature behavior #17

Description

@nradakovic

What

Provide a lightweight verification suite that catches basic regressions in warning feature wiring and language-specific flag application.

Acceptance Criteria (DoD)

  • A unit test setup exists for compiler warning features.
  • Tests cover the main warning feature groups.
  • Tests cover at least one C compilation path and one C++ compilation path.
  • Tests are able to detect incorrect feature wiring or incorrect language-specific flag application.
  • The test scope remains intentionally small and focused on migration safety.

How

  • Add tests that exercise the supported warning feature groups.
  • Verify that the expected warning flags are applied when the corresponding features are enabled.
  • Verify that C-only flags are not applied to C++ compilation and that C++-only flags are not applied to C compilation.
  • Keep the test setup simple and maintainable, but broad enough to validate the basic behavior of the feature model.

Metadata

Metadata

Assignees

No one assigned

    Labels

    compiler warningsCompiler warnings feature add or update.enhancementNew feature or requestp3Medium/Low - handle it within normal process

    Type

    No fields configured for Task.

    Projects

    Status
    Soon
    Status
    Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions