Skip to content

On non-compiletest tests, only use a single test task when valgrinding #1921

Closed
@brson

Description

@brson

For test runners that don't spawn subprocesses for every test (rustc, core, std, rustdoc), trying to run tests in parallel under valgrind just makes the entire test run slower. The build should detect when we are valgrinding and pass a flag (that doesn't exist yet) to the test runner telling it to use only 1 test task at a time.

I've noticed that the linux1 bot is taking an absurd amount of time to run coretest. This might help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-testsuiteArea: The testsuite used to check the correctness of rustcE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.I-compiletimeIssue: Problems and improvements with respect to compile times.P-lowLow priority

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions