Skip to content

Check stdout/stderr of run-pass run portion #63751

Closed
@Mark-Simulacrum

Description

@Mark-Simulacrum

We currently check the compiler's output, but it's sometimes useful to check that the run-pass test itself is outputting the same as before. In particular, @tmandry expressed a desire to test libtest in this fashion.

Taking a look at the code, we probably want to add another header flag (check-run-results) around here in this file; and then when running the generated executable here we should replicate this expected loading code down. If possible, it'd be great to extract some sort of function that would load results and compare them, but I'm not sure how feasible that is in a clean manner.

Metadata

Metadata

Assignees

Labels

A-testsuiteArea: The testsuite used to check the correctness of rustcE-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions