Skip to content

Commit a6624d3

Browse files
committed
Add spirv extension handling in compiletest
1 parent 861872b commit a6624d3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/tools/compiletest/src/runtest.rs

+2
Original file line numberDiff line numberDiff line change
@@ -2069,6 +2069,8 @@ impl<'test> TestCx<'test> {
20692069
f = f.with_extra_extension("js");
20702070
} else if self.config.target.contains("wasm32") {
20712071
f = f.with_extra_extension("wasm");
2072+
} else if self.config.target.contains("spirv") {
2073+
f = f.with_extra_extension("spv");
20722074
} else if !env::consts::EXE_SUFFIX.is_empty() {
20732075
f = f.with_extra_extension(env::consts::EXE_SUFFIX);
20742076
}

0 commit comments

Comments
 (0)