about summary refs log tree commit diff
path: root/src/bootstrap/sanity.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2017-01-16 23:10:00 -0800
committerAlex Crichton <alex@alexcrichton.com>2017-01-19 13:54:19 -0800
commite8f9d2d43a190074d52a0df40725ebd2c0fb0a9e (patch)
tree3119680164eca5ef18b4ad27d4b964b3f365c002 /src/bootstrap/sanity.rs
parentaedebfe77de30675826505572f36767e77dfba90 (diff)
downloadrust-e8f9d2d43a190074d52a0df40725ebd2c0fb0a9e.tar.gz
rust-e8f9d2d43a190074d52a0df40725ebd2c0fb0a9e.zip
travis: Get an emscripten builder online
This commit adds a new entry to the Travis matrix which will execute emscripten
test suites. Along the way it updates a few bits of the test suite to continue
passing on emscripten, such as:

* Ignoring i128/u128 tests as they're presumably just not working (didn't
  investigate as to why)
* Disabling a few process tests (not working on emscripten)
* Ignore some num tests in libstd (#39119)
* Fix some warnings when compiling
Diffstat (limited to 'src/bootstrap/sanity.rs')
-rw-r--r--src/bootstrap/sanity.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/sanity.rs b/src/bootstrap/sanity.rs
index 66bdd5e00f4..8e79c2d27d1 100644
--- a/src/bootstrap/sanity.rs
+++ b/src/bootstrap/sanity.rs
@@ -45,7 +45,7 @@ pub fn check(build: &mut Build) {
             let target = path.join(cmd);
             let mut cmd_alt = cmd.to_os_string();
             cmd_alt.push(".exe");
-            if target.exists() ||
+            if target.is_file() ||
                target.with_extension("exe").exists() ||
                target.join(cmd_alt).exists() {
                 return Some(target);