Skip to content

Document the wave-test metadata contract #357

Closed

Description

@LunaStev

Problem

Wave E2E sources use // wave-test: metadata, but the supported keys, defaults, validation rules, and runner modes are only discoverable by reading Python implementation files.

Scope

Add a focused test-suite guide, preferably under tests/, documenting:

  • mode and runner combinations.
  • Host OS and architecture filters.
  • Target, emit kind, and freestanding compilation.
  • Expected exit status.
  • ELF machine/class and RISC-V float ABI checks.
  • Assembly contains/not-contains checks.
  • UDP input handling.
  • How --only, --skip, and JSON reports work.
  • How to add a portable test without creating filename-specific Python logic.

Coordinate the document with any newly accepted metadata such as stdin-file.

Completion criteria

  • Every currently supported metadata key is documented.
  • Defaults and invalid combinations are explicit.
  • At least one native-run and one cross-compile example are included.
  • Contributor documentation links to the guide.

Activity

  1. added
    documentation
    good first issue
    on Aug 25, 2026
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

    documentationgood first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions