about summary refs log tree commit diff
path: root/src/bootstrap/lib.rs
diff options
context:
space:
mode:
authorMátyás Mustoha <mmatyas@inf.u-szeged.hu>2017-07-03 11:41:58 +0200
committerMátyás Mustoha <mmatyas@inf.u-szeged.hu>2017-07-17 11:33:48 +0200
commitbbdbb654679eba68ff505a55ad224c5c04f5517f (patch)
treef9ec6220bddb5222281f6f2c55954eb8d1e46951 /src/bootstrap/lib.rs
parent88cf76a64e1f8d68ce366d0cea340564b26631a7 (diff)
downloadrust-bbdbb654679eba68ff505a55ad224c5c04f5517f.tar.gz
rust-bbdbb654679eba68ff505a55ad224c5c04f5517f.zip
Allow remote testing remotely when `TEST_DEVICE_ADDR` is set
Diffstat (limited to 'src/bootstrap/lib.rs')
-rw-r--r--src/bootstrap/lib.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bootstrap/lib.rs b/src/bootstrap/lib.rs
index 032231582ef..e06de5bac4b 100644
--- a/src/bootstrap/lib.rs
+++ b/src/bootstrap/lib.rs
@@ -920,7 +920,8 @@ impl Build {
     /// Returns whether the target will be tested using the `remote-test-client`
     /// and `remote-test-server` binaries.
     fn remote_tested(&self, target: &str) -> bool {
-        self.qemu_rootfs(target).is_some() || target.contains("android")
+        self.qemu_rootfs(target).is_some() || target.contains("android") ||
+        env::var_os("TEST_DEVICE_ADDR").is_some()
     }
 
     /// Returns the root of the "rootfs" image that this target will be using,