Skip to content

Commit bbdbb65

Browse files
committed
Allow remote testing remotely when TEST_DEVICE_ADDR is set
1 parent 88cf76a commit bbdbb65

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/bootstrap/lib.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -920,7 +920,8 @@ impl Build {
920920
/// Returns whether the target will be tested using the `remote-test-client`
921921
/// and `remote-test-server` binaries.
922922
fn remote_tested(&self, target: &str) -> bool {
923-
self.qemu_rootfs(target).is_some() || target.contains("android")
923+
self.qemu_rootfs(target).is_some() || target.contains("android") ||
924+
env::var_os("TEST_DEVICE_ADDR").is_some()
924925
}
925926

926927
/// Returns the root of the "rootfs" image that this target will be using,

0 commit comments

Comments
 (0)