fix emscripten test detection
This commit is contained in:
parent
3087a1f39e
commit
4eeede3e0f
@ -550,7 +550,7 @@ fn find_tests(dir: &Path,
|
||||
let filename = e.file_name().into_string().unwrap();
|
||||
if (target.contains("windows") && filename.ends_with(".exe")) ||
|
||||
(!target.contains("windows") && !filename.contains(".")) ||
|
||||
(target.contains("emscripten") && filename.contains(".js")){
|
||||
(target.contains("emscripten") && filename.ends_with(".js")) {
|
||||
dst.push(e.path());
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user