Home
last modified time | relevance | path

Searched refs:ART_TEST_CHROOT (Results 1 – 11 of 11) sorted by relevance

/art/tools/
Dbuildbot-setup-device.sh116 if [[ -n "$ART_TEST_CHROOT" ]]; then
118 echo -e "${green}Prepare the chroot dir in $ART_TEST_CHROOT${nc}"
121 [[ "x$ART_TEST_CHROOT" = x/* ]] || { echo "$ART_TEST_CHROOT is not an absolute path"; exit 1; }
124 adb shell mkdir -p "$ART_TEST_CHROOT"
140 "&&" mkdir -p "$ART_TEST_CHROOT$(dirname $f)" \
141 "&&" cp -f "$f" "$ART_TEST_CHROOT$f"
145 adb shell mkdir -p "$ART_TEST_CHROOT/tmp"
146 adb shell mkdir -p "$ART_TEST_CHROOT/data/dalvik-cache"
147 adb shell mkdir -p "$ART_TEST_CHROOT/data/local/tmp"
150 adb shell mkdir -p "$ART_TEST_CHROOT/system/etc"
[all …]
Dbuildbot-teardown-device.sh30 if [[ -n "$ART_TEST_CHROOT" ]]; then
32 [[ "x$ART_TEST_CHROOT" = x/* ]] || { echo "$ART_TEST_CHROOT is not an absolute path"; exit 1; }
34 if adb shell test -d "$ART_TEST_CHROOT"; then
37 echo -e "${green}List open files under chroot dir $ART_TEST_CHROOT${nc}"
38 adb shell lsof | grep "$ART_TEST_CHROOT"
49 | sed -n -e "s,^.* \\(/proc/.*/root\\) -> $ART_TEST_CHROOT\$,\\1,p" \
67 echo -e "${green}List processes running from binaries under chroot dir $ART_TEST_CHROOT${nc}"
72 echo -e "${green}Tear down the chroot set up in $ART_TEST_CHROOT${nc}"
84 local dir="$ART_TEST_CHROOT/$dir_in_chroot"
96 adb shell rm -rf "$ART_TEST_CHROOT/apex"
[all …]
Dbuildbot-cleanup-device.sh27 if [[ -n "$ART_TEST_CHROOT" ]]; then
29 if [[ "x$ART_TEST_CHROOT" != x/* ]]; then
30 echo "$ART_TEST_CHROOT is not an absolute path"
34 if adb shell test -d "$ART_TEST_CHROOT"; then
36 adb shell rm -rf "$ART_TEST_CHROOT/linkerconfig"
39 adb shell rm -rf "$ART_TEST_CHROOT/system"
42 adb shell rm -rf "$ART_TEST_CHROOT/data"
45 adb shell rmdir "$ART_TEST_CHROOT" || adb shell ls -la "$ART_TEST_CHROOT"
Dbuildbot-sync.sh42 if [[ -z "$ART_TEST_CHROOT" ]]; then
62 adb shell mkdir -p "$ART_TEST_CHROOT/system"
63 adb push "$ANDROID_PRODUCT_OUT/system" "$ART_TEST_CHROOT/"
67 "$ART_TEST_CHROOT/system/etc/public.libraries.txt"
87 adb shell mkdir -p "$ART_TEST_CHROOT/apex"
88 adb shell rm -rf "$ART_TEST_CHROOT/apex/${dst_apex}"
91 adb shell mv "$ART_TEST_CHROOT/system/apex/${src_apex}" "$ART_TEST_CHROOT/apex/${dst_apex}" \
116 adb shell chroot "$ART_TEST_CHROOT" \
118 ld_generated_config_files=$(adb shell find $ART_TEST_CHROOT/linkerconfig ! -type d | sed 's/^/ /')
128 adb shell mkdir -p "$ART_TEST_CHROOT/data"
[all …]
Drun-gtests.sh27 if [[ -z "$ART_TEST_CHROOT" ]]; then
47 tests=$("$adb" shell chroot "$ART_TEST_CHROOT" \
55 "$adb" shell chroot "$ART_TEST_CHROOT" \
Drun-libcore-tests.sh249 if [[ -n "$ART_TEST_CHROOT" ]]; then
251 vogar_args="$vogar_args --chroot $ART_TEST_CHROOT"
Dbuildbot-build.sh82 if [[ -n "$ART_TEST_CHROOT" ]]; then
Drun-jdwp-tests.sh255 if [[ -n "$ART_TEST_CHROOT" ]]; then
257 chroot_option="--chroot $ART_TEST_CHROOT"
/art/test/
DREADME.chroot.md11 setting up a chroot directory in a `ART_TEST_CHROOT` directory located under
12 `/data/local` (e.g. `ART_TEST_CHROOT=/data/local/art-test-chroot`) on a device,
14 shell chroot $ART_TEST_CHROOT <command>` to execute commands on the device
47 1. Set the chroot directory in `ART_TEST_CHROOT`:
49 export ART_TEST_CHROOT=/data/local/art-test-chroot
/art/test/testrunner/
Denv.py91 ART_TEST_CHROOT = _env.get('ART_TEST_CHROOT') variable
Dtestrunner.py405 if env.ART_TEST_CHROOT:
406 options_test += ' --chroot ' + env.ART_TEST_CHROOT