From efe4925792735c2fd9dd95b7c67173b119ff2968 Mon Sep 17 00:00:00 2001 From: David Srbecky Date: Wed, 18 Dec 2024 13:20:40 +0000 Subject: Run-test: Add 'ArtTest' atest target Add generic eng-prod test runner, which is to be used for run-tests. However, it should hopefully also generalize to all our other tests. Test: atest ArtTest (with further local changes) Change-Id: I6b477c7689440a62db234b7bf2f17168debb82d3 --- test/Android.bp | 12 ++++++++++++ test/ArtTest.xml | 27 +++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 test/ArtTest.xml diff --git a/test/Android.bp b/test/Android.bp index 76559a92c4..a447d4aa37 100644 --- a/test/Android.bp +++ b/test/Android.bp @@ -1392,6 +1392,18 @@ art_cc_test { test_config: "art-gtests-target-chroot.xml", } +art_cc_test { + name: "ArtTest", + data: [ + // We need the ART testing apex, which contains debug binaries and other utilities. + ":com.android.art.testing", + // Archive which contains all run-test data and test-specific bash scripts to run them. + ":art-test-target-fg", + ], + test_suites: ["general-tests"], + test_config: "ArtTest.xml", +} + csuite_test { name: "csuite-app-compile-launch", test_config_template: "csuite-app-compile-launch.xml", diff --git a/test/ArtTest.xml b/test/ArtTest.xml new file mode 100644 index 0000000000..05d7e96d68 --- /dev/null +++ b/test/ArtTest.xml @@ -0,0 +1,27 @@ + + + + -- cgit v1.2.3-59-g8ed1b