Skip to content

"./x.py test --verbose --no-fail-fast" causes tidy to fail #147500

@Zeckmathederg

Description

@Zeckmathederg

With node.js-22.20.0 (npm-10.9.3) installed, a test checking if /usr/bin/npm --verbose returns exit code 0 fails. This is because npm's behavior when not given a command will return exit code 1. As far as npm is concerned, it wasn't given a command, like help, even though the --verbose option was passed. However, passing help to the npm command will return exit code 0 as intended. So the command to run would be /usr/bin/npm --verbose help. This should make the test succeed.

The file seeming to cause it is src/bootstrap/src/core/build_steps/test.rs.

Metadata

Metadata

Assignees

Labels

A-tidyArea: The tidy toolC-bugCategory: This is a bug.E-needs-investigationCall for partcipation: This issues needs some investigation to determine current statusT-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions