From bbdbb654679eba68ff505a55ad224c5c04f5517f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1ty=C3=A1s=20Mustoha?= Date: Mon, 3 Jul 2017 11:41:58 +0200 Subject: [PATCH] Allow remote testing remotely when `TEST_DEVICE_ADDR` is set --- src/bootstrap/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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,