mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-20 14:31:08 +01:00
Init env_logger in snapshots tests
For debugging. Maybe there's a way to do it for all tests, not sure...
This commit is contained in:
1 parent
1d1aea243f
commit
0b69aa8b8a
2 files changed
+3
No files matched your search
@@ -49,6 +49,7 @@ ron = "0.6"
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
spirv = { package = "spirv_headers", version = "1.5", features = ["deserialize"] }
|
||||
rspirv = "0.7"
|
||||
env_logger = "0.8"
|
||||
|
||||
[workspace]
|
||||
members = [".", "cli"]
|
||||
|
||||
@@ -450,6 +450,8 @@ fn convert_spv_pointer_access() {
|
||||
#[allow(unused_variables)]
|
||||
#[test]
|
||||
fn convert_glsl_folder() {
|
||||
env_logger::init();
|
||||
|
||||
let root = env!("CARGO_MANIFEST_DIR");
|
||||
|
||||
for entry in std::fs::read_dir(format!("{}/{}/glsl", root, BASE_DIR_IN)).unwrap() {
|
||||
|
||||
Reference in new issue
Block a user