Attribute panics to the mdtests that cause them (#15241)

This updates the mdtest harness to catch any panics that occur during
type checking, and to display the panic message as an mdtest failure.
(We don't know which specific line causes the failure, so we attribute
panics to the first line of the test case.)
This commit is contained in:
Douglas Creager 2025-01-03 13:45:56 -05:00 committed by GitHub
parent 706d87f239
commit 75015b0ed9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 24 additions and 10 deletions

View file

@ -10,6 +10,7 @@ pub mod diagnostic;
pub mod display;
pub mod file_revision;
pub mod files;
pub mod panic;
pub mod parsed;
pub mod source;
pub mod system;