fix emscripten test detection
This commit is contained in:
parent
3087a1f39e
commit
4eeede3e0f
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue