Skip to content

Miri UI tests aren't run on CI (or locally) #110102

Closed
@CraftSpider

Description

@CraftSpider

Issue

As the title says - Miri UI tests aren't run when invoked through x.py, or on CI:
https://github.com/rust-lang-ci/rust/actions/runs/4636594388/jobs/8204646214#step:26:13316

The actual issue appears to be that compiletest.rs in the miri directory expects no non-filter args to be passed to it when being run, but the args -Z unstable-options --format json are getting passed.

Discovery

I was trying to test miri locally, and I ran the command x.py test src/tools/miri --stage 2. I expected the miri UI tests to get run, but instead, they were all always getting filtered out, despite not passing a filter. After looking into it a bit, I discovered the filter vector was always ["-Z", "unstable-options", "--format", "json"], and decided to check whether bors was running them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-miriArea: The miri toolA-testsuiteArea: The testsuite used to check the correctness of rustcC-bugCategory: This is a bug.E-needs-bisectionCall for participation: This issue needs bisection: https://github.com/rust-lang/cargo-bisect-rustcT-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions