summaryrefslogtreecommitdiff
path: root/build/apex/art_apex_test.py
diff options
context:
space:
mode:
author Jiakai Zhang <jiakaiz@google.com> 2022-06-08 16:22:07 +0100
committer Treehugger Robot <treehugger-gerrit@google.com> 2022-06-17 17:41:44 +0000
commit9f4e1f04b5ceb54bba11c7dd1338d4be0e591b27 (patch)
tree0baca70b51bb59f92f7a2b3c1a3226918e859463 /build/apex/art_apex_test.py
parent82b1bf2024591d6cd85e9ecd9ec704f67444e3c2 (diff)
Add artd unit tests.
This change adds `art_artd_tests`, which contains the unit tests of artd. The change also splits the code into artd.h/artd.cc and artd_main.cc, where artd.h/artd.cc contains the implementation that is unit-testable, while artd_main.cc contains the main function of the artd binary. Note: The test is not enabled because it currently doesn't work on master-art. Bug: 177273468 Test: art/tools/buildbot-build.sh Test: m art-check-testing-apex-gen Change-Id: I6b73174422e000071f5d41bc31164aa3ee1d5301 Merged-In: I19701d7ca83f541becdcd413e740eff93d03037d
Diffstat (limited to 'build/apex/art_apex_test.py')
-rwxr-xr-xbuild/apex/art_apex_test.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/build/apex/art_apex_test.py b/build/apex/art_apex_test.py
index 391b990f8c..e1804647dd 100755
--- a/build/apex/art_apex_test.py
+++ b/build/apex/art_apex_test.py
@@ -557,7 +557,6 @@ class ReleaseTargetChecker:
# Check internal libraries for ART.
self._checker.check_native_library('libartservice')
self._checker.check_native_library('libperfetto_hprof')
- self._checker.check_prefer64_library('artd-aidl-ndk')
# Check internal Java libraries
self._checker.check_java_library("service-art")
@@ -671,6 +670,9 @@ class TestingTargetChecker:
def run(self):
# Check ART test binaries.
+ # TODO(b/235464166): art_artd_tests doesn't work on master-art because of
+ # the dependency on libbinder_ndk.
+ # self._checker.check_art_test_executable('art_artd_tests')
self._checker.check_art_test_executable('art_cmdline_tests')
self._checker.check_art_test_executable('art_compiler_tests')
self._checker.check_art_test_executable('art_dex2oat_tests')