Skip to content

compiletest: Add a variant of {{build-base}} that points to the current test's build subdirectory #147216

@Zalathar

Description

@Zalathar

Several of the existing tests that use {{build-base}} would be better off using a test-specific output subdirectory (or an automatically-cleared scratch directory), rather than the “root” output directory shared by all tests in a test suite.

Unfortunately, this is currently hard to accomplish because parse_name_value_directive doesn't have access to any test-specific data structures, only the &Config shared by all tests in the suite.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-compiletestArea: The compiletest test runnerC-enhancementCategory: An issue proposing an enhancement or a PR with one.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions