Closed Bug 1928469 Opened 1 year ago Closed 7 months ago

Make it easy/possible to run `rusttests` against a single crate (or subset of crates)

Categories

(Firefox Build System :: Mach Core, enhancement, P5)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: nalexander, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxsync-])

It would be nice if mach rusttests crate1 crate2 ... ran a subset of mach rusttests. After some exploration, I gather that one should "just" run cargo test in the correct directory, but that's really not obvious when starting from a failure in CI and skimming the documentation.

I spoke with Glandium about this. He agrees that it would be nice, but it's low priority for the build team (and it could be argued that it doesn't fall under the build system either).

Severity: -- → N/A
Priority: -- → P5
Duplicate of this bug: 1952893

The Bugbug bot thinks this bug should belong to the 'Firefox Build System::Mach Core' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: General → Mach Core
Whiteboard: [sync-]
Whiteboard: [sync-] → [fxsync-]
Blocks: 1987484
No longer blocks: 1957999

This is possible now with our current monorepo stack. You can just run cargo test -p [crate] to run tests.

Status: NEW → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.