Skip to content

compiletest: "ignore-debug" tests are ignored even with debug-assertions-std = false #115171

Closed
@RalfJung

Description

@RalfJung

Some tests need to be disabled when the standard library is built with debug assertions, since that can affect mir-opts codegen through inlining. For that purpose we have the ignore-debug clause in compiletest. However, unfortunately it seems like compiletest actually checks whether the compiler is built with debug assertions, even though that should not make any difference. I have

debug-assertions = true
debug-assertions-std = false

and these tests should not be ignored, but they are.

We should maybe rename the directive to ignore-debug-std to make it more clear what this is about.

Metadata

Metadata

Assignees

Labels

A-testsuiteArea: The testsuite used to check the correctness of rustcC-bugCategory: This is a bug.T-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