From 5c66648f5d1272d6230b41f1527f52c9b3f6c966 Mon Sep 17 00:00:00 2001 From: Erin Power Date: Wed, 10 Mar 2021 07:28:39 +0100 Subject: [PATCH] Add handling for SPIR-V target --- src/runtest.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/runtest.rs b/src/runtest.rs index 15782e7..1886e6c 100644 --- a/src/runtest.rs +++ b/src/runtest.rs @@ -1498,6 +1498,10 @@ actual:\n\ let mut fname = f.file_name().unwrap().to_os_string(); fname.push(".js"); f.set_file_name(&fname); + } else if self.config.target.contains("spirv") { + let mut fname = f.file_name().unwrap().to_os_string(); + fname.push(".spv"); + f.set_file_name(&fname); } else if self.config.target.contains("wasm32") { let mut fname = f.file_name().unwrap().to_os_string(); fname.push(".wasm");