From 5346e43b8c5e7fb0d68a7dd983db374792d9938e Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Sat, 9 Sep 2023 08:03:43 -0700 Subject: [PATCH] snapshots::convert_spv: Print input name before processing. When `convert_spv` fails, this makes it easier to tell which file it was trying to process. --- tests/snapshots.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/snapshots.rs b/tests/snapshots.rs index a2e03679b2..1782e8b961 100644 --- a/tests/snapshots.rs +++ b/tests/snapshots.rs @@ -653,6 +653,7 @@ fn convert_spv(name: &str, adjust_coordinate_space: bool, targets: Targets) { let root = env!("CARGO_MANIFEST_DIR"); + println!("Processing '{name}'"); let module = naga::front::spv::parse_u8_slice( &fs::read(format!("{root}/{BASE_DIR_IN}/spv/{name}.spv")).expect("Couldn't find spv file"), &naga::front::spv::Options {