diff options
author | 2024-07-29 15:01:38 +0000 | |
---|---|---|
committer | 2024-08-14 10:19:56 +0000 | |
commit | b9075fca15c21ce4ea599e5379463c4fda82660a (patch) | |
tree | fcabd8b0214b3cc3bd824220b7ca6d67736de12c /build/apex/art_apex_test.py | |
parent | ef7d905b284800eb7a6858933e457eced5b7305e (diff) |
Add a gtest to automatically test the class verification fuzzer's corpus.
Rename the DEX verification fuzzer's corpus directory.
Add a separated corpus for class verification fuzzer that contains two DEX files:
* Main: Empty main (valid DEX)
* Hello-world: Main that prints "Hello, world!"
It tries to verify each dex file in the class verification fuzzer's corpus.
For now all dex files for class verification are expected to pass.
Bug: 352721437
Test: m test-art-host-gtest-art_runtime_tests64
Test: m test-art-host-gtest-art_libdexfile_tests64
Test: With chroot method run libdexfile and runtime tests on targe
Change-Id: I7dfbdecb28cd3adf36db83c4e158794774d3b907
Diffstat (limited to 'build/apex/art_apex_test.py')
-rwxr-xr-x | build/apex/art_apex_test.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/build/apex/art_apex_test.py b/build/apex/art_apex_test.py index 68fe779a9e..d435cd77ef 100755 --- a/build/apex/art_apex_test.py +++ b/build/apex/art_apex_test.py @@ -793,7 +793,8 @@ class TestingTargetChecker: self._checker.check_art_test_data('art-gtest-jars-SuperWithAccessChecks.dex') # Fuzzer cases - self._checker.check_art_test_data('fuzzer_corpus.zip') + self._checker.check_art_test_data('dex_verification_fuzzer_corpus.zip') + self._checker.check_art_test_data('class_verification_fuzzer_corpus.zip') class NoSuperfluousFilesChecker: |