Skip to content

Switch to mach #20235

Closed
Closed
@Manishearth

Description

@Manishearth

Using makefiles for testing is rather broken (for example, if you want to run a different test via TETNAME=foo make-check-stage2-runpass, you have to delete the runpass binary and re-call make).

I suggest we move as much of the testing and other infrastructure out into mach, Mozilla's supercharged-make-in-python. Servo has already made this switch and the workflow is much smoother. The ./mach build command can internally call configure/make (at least initially), and instead of setting environment variables for various test tweaks we can set command line flags.

If I get time I'd love to work on this, but I'd like to know if this is really wanted first :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-testsuiteArea: The testsuite used to check the correctness of rustcC-cleanupCategory: PRs that clean code up or issues documenting cleanup.E-hardCall for participation: Hard difficulty. Experience needed to fix: A lot.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions