Home
last modified time | relevance | path

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

/art/tools/
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 -f "$ART_TEST_CHROOT/bin"
[all …]
Dbuildbot-setup-device.sh123 if [[ -n "$ART_TEST_CHROOT" ]]; then
125 echo -e "${green}Prepare the chroot dir in $ART_TEST_CHROOT${nc}"
128 [[ "x$ART_TEST_CHROOT" = x/* ]] || { echo "$ART_TEST_CHROOT is not an absolute path"; exit 1; }
131 adb shell mkdir -p "$ART_TEST_CHROOT"
147 "&&" mkdir -p "$ART_TEST_CHROOT$(dirname $f)" \
148 "&&" cp -f "$f" "$ART_TEST_CHROOT$f"
152 adb shell mkdir -p "$ART_TEST_CHROOT/tmp"
153 adb shell mkdir -p "$ART_TEST_CHROOT/data/dalvik-cache"
154 adb shell mkdir -p "$ART_TEST_CHROOT/data/local/tmp"
157 adb shell mkdir -p "$ART_TEST_CHROOT/system/etc"
[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.sh44 if [[ -z "$ART_TEST_CHROOT" ]]; then
62 adb shell mkdir -p "$ART_TEST_CHROOT/$dir"
63 adb push $dir "$ART_TEST_CHROOT/$(dirname $dir)"
70 "$ART_TEST_CHROOT/system/etc/public.libraries.txt"
73 adb shell mkdir -p "$ART_TEST_CHROOT/system/framework"
78 adb shell mkdir -p "$ART_TEST_CHROOT/apex"
98 adb shell rm -rf "$ART_TEST_CHROOT/apex/${dst_apex}"
99 adb push $src_apex_path "$ART_TEST_CHROOT/apex/${dst_apex}"
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-jdwp-tests.sh256 if [[ -n "$ART_TEST_CHROOT" ]]; then
258 chroot_option="--chroot $ART_TEST_CHROOT"
Drun-libcore-tests.py48 ART_TEST_CHROOT = os.environ.get("ART_TEST_CHROOT") variable
175 if 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
DREADME.arm_fvp.md148 export ART_TEST_CHROOT=/data/local/art-test-chroot
/art/test/testrunner/
Denv.py87 ART_TEST_CHROOT = _env.get('ART_TEST_CHROOT') variable
Dtestrunner.py491 if env.ART_TEST_CHROOT:
492 options_test += ' --chroot ' + env.ART_TEST_CHROOT