Skip to content

Structural pattern matching in lit.cfg.py #16211

Closed
@0x12CC

Description

@0x12CC

Describe the bug

#16016 added this line to our lit.cfg.py:

match lit_config.params.get("test-mode", "full"):

Pattern matching requires Python 3.10 but our testing requirements page states that we need Python 3.8: https://github.com/intel/llvm/blob/sycl/llvm/docs/TestingGuide.rst#requirements. This causes Python errors when running tests on a system with Python 3.8 or 3.9.

To reproduce

Run the following command on a system with Python 3.8:

ninja check-sycl-e2e

Environment

  • OS: Linux
  • Target device and vendor: N/A
  • DPC++ version: f279a8a
  • Dependencies version: N/A

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions