diff options
| author | Peter Collingbourne <pcc@google.com> | 2022-10-05 19:07:12 -0700 |
|---|---|---|
| committer | Peter Collingbourne <pcc@google.com> | 2022-10-06 13:42:32 -0700 |
| commit | 9a1c1c7941e111b67e89cc6e0738455d6edbbd5e (patch) | |
| tree | dc807c5ec3bf161b572505bffbd852fb88a3e13c /src/bootstrap | |
| parent | c97d02cdb5ca5f5e9eff1fa9e4560d220d1fd2a0 (diff) | |
| download | rust-9a1c1c7941e111b67e89cc6e0738455d6edbbd5e.tar.gz rust-9a1c1c7941e111b67e89cc6e0738455d6edbbd5e.zip | |
tools/remote-test-{server,client}: Use /data/local/tmp on Android
The /data/tmp directory does not exist, at least not on recent versions of Android, which currently leads to test failures on that platform. I checked a virtual device running AOSP master and a Nexus 5 running Android Marshmallow and on both devices the /data/tmp directory does not exist and /data/local/tmp does, so let's switch to /data/local/tmp.
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/test.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs index 01f4cacd771..2271c18eb1d 100644 --- a/src/bootstrap/test.rs +++ b/src/bootstrap/test.rs @@ -23,7 +23,7 @@ use crate::toolstate::ToolState; use crate::util::{self, add_link_lib_path, dylib_path, dylib_path_var, output, t}; use crate::{envify, CLang, DocTests, GitRepo, Mode}; -const ADB_TEST_DIR: &str = "/data/tmp/work"; +const ADB_TEST_DIR: &str = "/data/local/tmp/work"; /// The two modes of the test runner; tests or benchmarks. #[derive(Debug, PartialEq, Eq, Hash, Copy, Clone, PartialOrd, Ord)] |
