Skip to content

Commit

Permalink
fix emscripten test detection
Browse files Browse the repository at this point in the history
  • Loading branch information
TimNN committed Mar 9, 2017
1 parent 3087a1f commit 4eeede3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap/check.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
}
Expand Down

0 comments on commit 4eeede3

Please sign in to comment.