From 9fbfe26b27a7ff9068018e3c4808a545f577212c Mon Sep 17 00:00:00 2001 From: David Srbecky Date: Thu, 14 Nov 2024 08:48:30 +0000 Subject: run-test: Create boot-image-compilation script Add script which compiles the boot image to the run-test zip file. Also add json file with all the test rules. Each rule can adb-push data from the zip file, and adb-shell execute any pushed bash script. The boot-image compilation is just another rule, and the other rules have a dependency on it. Therefore it will execute first and only once. Test: Install ART test APEX on device and manually perform the commands Change-Id: I70bad11b11f81a427bf16eecd773dc10c34ff664 --- test/globals.py | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 test/globals.py (limited to 'test/globals.py') diff --git a/test/globals.py b/test/globals.py new file mode 100644 index 0000000000..fa51150776 --- /dev/null +++ b/test/globals.py @@ -0,0 +1,24 @@ +# +# Copyright (C) 2024 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +BOOTCLASSPATH = [ + "/apex/com.android.art/javalib/core-oj.jar", + "/apex/com.android.art/javalib/core-libart.jar", + "/apex/com.android.art/javalib/okhttp.jar", + "/apex/com.android.art/javalib/bouncycastle.jar", + "/apex/com.android.art/javalib/apache-xml.jar", + "/apex/com.android.i18n/javalib/core-icu4j.jar", + "/apex/com.android.conscrypt/javalib/conscrypt.jar", +] \ No newline at end of file -- cgit v1.2.3-59-g8ed1b