OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ART_TEST_CHROOT
(Results
1 - 14
of
14
) sorted by null
/art/tools/
cleanup-buildbot-device.sh
24
if [[ -n "$
ART_TEST_CHROOT
" ]]; then
25
# Check that
ART_TEST_CHROOT
is correctly defined.
26
if [[ "x$
ART_TEST_CHROOT
" != x/* ]]; then
27
echo "$
ART_TEST_CHROOT
is not an absolute path"
31
if adb shell test -d "$
ART_TEST_CHROOT
"; then
33
adb shell rm -rf "$
ART_TEST_CHROOT
/system"
36
adb shell rm -rf "$
ART_TEST_CHROOT
/data"
39
adb shell rmdir "$
ART_TEST_CHROOT
" || adb shell ls -la "$
ART_TEST_CHROOT
"
unmount-buildbot-apexes.sh
31
[[ -n "$
ART_TEST_CHROOT
" ]] || exit
33
# Check that
ART_TEST_CHROOT
is correctly defined.
34
[[ "$
ART_TEST_CHROOT
" = /* ]] || { echo "$
ART_TEST_CHROOT
is not an absolute path"; exit 1; }
46
local abs_image_filename="$
ART_TEST_CHROOT
$apex_image_dir/$apex_name.img"
47
local abs_mount_point="$
ART_TEST_CHROOT
/apex/$apex_name"
64
adb shell rmdir "$
ART_TEST_CHROOT
$apex_image_dir"
teardown-buildbot-device.sh
27
if [[ -n "$
ART_TEST_CHROOT
" ]]; then
28
# Check that
ART_TEST_CHROOT
is correctly defined.
29
[[ "x$
ART_TEST_CHROOT
" = x/* ]] || { echo "$
ART_TEST_CHROOT
is not an absolute path"; exit 1; }
31
if adb shell test -d "$
ART_TEST_CHROOT
"; then
34
echo -e "${green}List open files under chroot dir $
ART_TEST_CHROOT
${nc}"
35
adb shell lsof | grep "$
ART_TEST_CHROOT
"
46
| sed -n -e "s,^.* \\(/proc/.*/root\\) -> $
ART_TEST_CHROOT
\$,\\1,p" \
64
echo -e "${green}List processes running from binaries under chroot dir $
ART_TEST_CHROOT
${nc}"
69
echo -e "${green}Tear down the chroot set up in $
ART_TEST_CHROOT
${nc}
[
all
...]
buildbot-sync.sh
24
if [[ -z "${
ART_TEST_CHROOT
}" ]]; then
25
echo '
ART_TEST_CHROOT
environment variable is empty'
30
adb push ${ANDROID_PRODUCT_OUT}/system ${
ART_TEST_CHROOT
}/
34
${
ART_TEST_CHROOT
}/system/etc/public.libraries.txt
37
adb push ${ANDROID_PRODUCT_OUT}/data ${
ART_TEST_CHROOT
}/
run-gtests.sh
17
# Script to run all gtests located under $
ART_TEST_CHROOT
/data/nativetest{64}
25
all_tests+=$(${ADB} shell "test -d $
ART_TEST_CHROOT
/$1 && chroot $
ART_TEST_CHROOT
find $1 -type f -perm /ugo+x -name \*_test\* \! -name \*.so")
37
${ADB} shell "chroot $
ART_TEST_CHROOT
env LD_LIBRARY_PATH= ANDROID_ROOT='/system' ANDROID_RUNTIME_ROOT=/system ANDROID_TZDATA_ROOT='/system' $i" || fail $i
mount-buildbot-apexes.sh
28
[[ -n "$
ART_TEST_CHROOT
" ]] || exit
30
# Check that
ART_TEST_CHROOT
is correctly defined.
31
[[ "$
ART_TEST_CHROOT
" = /* ]] || { echo "$
ART_TEST_CHROOT
is not an absolute path"; exit 1; }
33
# Check that the "$
ART_TEST_CHROOT
/apex" directory exists.
34
adb shell test -d "$
ART_TEST_CHROOT
/apex" \
35
|| { echo "$
ART_TEST_CHROOT
/apex does not exist or is not a directory"; exit 1; }
40
adb shell mkdir -p "$
ART_TEST_CHROOT
$apex_image_dir"
50
local abs_mount_point="$
ART_TEST_CHROOT
/apex/$apex_name"
51
local abs_image_filename="$
ART_TEST_CHROOT
$apex_image_dir/$apex_name.img
[
all
...]
setup-buildbot-device.sh
123
if [[ -n "$
ART_TEST_CHROOT
" ]]; then
125
echo -e "${green}Prepare the chroot dir in $
ART_TEST_CHROOT
${nc}"
127
# Check that
ART_TEST_CHROOT
is correctly defined.
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
"
146
"&&" mkdir -p "$
ART_TEST_CHROOT
$(dirname $f)" \
147
"&&" cp -f "$f" "$
ART_TEST_CHROOT
$f"
151
adb shell mkdir -p "$
ART_TEST_CHROOT
/tmp"
152
adb shell mkdir -p "$
ART_TEST_CHROOT
/data/dalvik-cache
[
all
...]
buildbot-build.sh
81
if [[ -n "$
ART_TEST_CHROOT
" ]]; then
run-libcore-tests.sh
163
# Honor environment variable
ART_TEST_CHROOT
.
164
if [[ -n "$
ART_TEST_CHROOT
" ]]; then
166
vogar_args="$vogar_args --chroot $
ART_TEST_CHROOT
"
run-jdwp-tests.sh
238
# Honor environment variable
ART_TEST_CHROOT
.
239
if [[ -n "$
ART_TEST_CHROOT
" ]]; then
241
chroot_option="--chroot $
ART_TEST_CHROOT
"
/art/test/testrunner/
env.py
91
ART_TEST_CHROOT
= _env.get('
ART_TEST_CHROOT
')
testrunner.py
405
# Honor
ART_TEST_CHROOT
, ART_TEST_ANDROID_ROOT, ART_TEST_ANDROID_RUNTIME_ROOT,
408
if env.
ART_TEST_CHROOT
:
409
options_test += ' --chroot ' + env.
ART_TEST_CHROOT
[
all
...]
/art/
Android.mk
110
# Check if we need to sync. In case
ART_TEST_CHROOT
or ART_TEST_ANDROID_ROOT
117
ifeq ($(
ART_TEST_CHROOT
),)
127
$(ADB) push $(PRODUCT_OUT)/system $(
ART_TEST_CHROOT
)/
128
$(ADB) push $(PRODUCT_OUT)/data $(
ART_TEST_CHROOT
)/
134
$(ADB) push $(PRODUCT_OUT)/system $(
ART_TEST_CHROOT
)$(ART_TEST_ANDROID_ROOT)
135
# Push the contents of the `data` dir into `$(
ART_TEST_CHROOT
)/data` on the device (note
136
# that $(
ART_TEST_CHROOT
) can be empty). If `$(
ART_TEST_CHROOT
)/data` already exists on
138
$(ADB) push $(PRODUCT_OUT)/data $(
ART_TEST_CHROOT
)/
/art/build/
Android.gtest.mk
478
ifeq ($(
ART_TEST_CHROOT
),)
484
maybe_art_test_chroot := $(
ART_TEST_CHROOT
)
485
maybe_chroot_command := chroot $(
ART_TEST_CHROOT
)
[
all
...]
Completed in 144 milliseconds