summaryrefslogtreecommitdiff
path: root/TEST_MAPPING
AgeCommit message (Collapse)Author
2021-07-14Add standalone ART gtests to `TEST_MAPPING` group `mainline-presubmit`.Roland Levillain
Output of `art/test/utils/regen-test-files`: $ art/test/utils/regen-test-files Generated Blueprint files for 625 ART run-tests out of 928 (67%). Generated TEST_MAPPING entries for 376 ART run-tests out of 928 (40%): 376 ART run-tests (100%) in `mainline-presubmit` test group. 17 ART gtests (100%) in `mainline-presubmit` test group. 376 ART run-tests (100%) in `presubmit` test group. 17 ART gtests (100%) in `presubmit` test group. 0 ART run-tests (0%) in `postsubmit` test group. (cherry picked from commit 1de4428db83a426fd7d0615dc9cdd204de41f6e3) Test: Rely on TreeHugger presubmits Bug: 193218514 Bug: 178703264 Bug: 152379281 Change-Id: I84da85e33c7ac1e44361bbb0b3bfa399ceab9b2f Merged-In: I84da85e33c7ac1e44361bbb0b3bfa399ceab9b2f
2021-07-14Add standalone ART gtests to `TEST_MAPPING` group `presubmit`.Roland Levillain
Output of `art/test/utils/regen-test-files`: $ art/test/utils/regen-test-files Generated Blueprint files for 625 ART run-tests out of 928 (67%). Generated TEST_MAPPING entries for 376 ART run-tests out of 928 (40%): 376 ART run-tests (100%) in `mainline-presubmit` test group. 376 ART run-tests (100%) in `presubmit` test group. 17 ART gtests (100%) in `presubmit` test group. 0 ART run-tests (0%) in `postsubmit` test group. (cherry picked from commit e0386f10d4591afa9823658099e4f2ac7a693255) Test: atest --test-mapping art:presubmit Test: Rely on TreeHugger presubmits Bug: 193218514 Bug: 152379281 Change-Id: Ibfcf212a4bc3094ca74f8f3c0f98469810c6ea19 Merged-In: Ibfcf212a4bc3094ca74f8f3c0f98469810c6ea19
2021-05-25Put 100% of ART run-tests in `TEST_MAPPING` group `mainline-presubmit`.Roland Levillain
Include remaining ART run-tests into the `mainline-presubmit` test group. This progressive rollout is to make sure introducing ART run-tests to this test group won't disturb/break Android presubmits. Output of `art/test/utils/regen-test-files`: $ art/test/utils/regen-test-files Generated Blueprint files for 625 ART run-tests out of 929 (67%). Generated TEST_MAPPING entries for 376 ART run-tests out of 929 (40%): 376 tests (100%) in `mainline-presubmit` test group. 376 tests (100%) in `presubmit` test group. 0 tests (0%) in `postsubmit` test group. (cherry picked from commit 3d05e61a420e499bfc9221445237c964e0a8aa63) Test: Rely on TreeHugger presubmits Bug: 178703264 Bug: 152374989 Change-Id: I58c2ad4669905d2fb22bb55d549f616de2266ba4 Merged-In: I58c2ad4669905d2fb22bb55d549f616de2266ba4
2021-05-24RESTRICT AUTOMERGE: Revert "Initial commit of the test code for ART Service"Chris Wailes
This reverts commit bfd622abc23c77ffc8799f376df7241f15d6550a. Test: m Bug: 184281926 Change-Id: I0e80a0f9286de982169761df8fd01f89cfcd678c
2021-05-20Regenerate ART test files (2021-05-19).Roland Levillain
Disable new run-test `730-cha-deopt` as it is currently failing when run with the `ArtRunTest` TradeFed test runner. Output of `art/test/utils/regen-test-files`: $ art/test/utils/regen-test-files Generated Blueprint files for 625 ART run-tests out of 929 (67%). Generated TEST_MAPPING entries for 376 ART run-tests out of 929 (40%): 282 tests (75%) in `mainline-presubmit` test group. 376 tests (100%) in `presubmit` test group. 0 tests (0%) in `postsubmit` test group. (cherry picked from commit 56f2444d2e58f453c90b7ba8477da3f6b2c107cf) Test: atest art-run-test-576-polymorphic-inlining Test: atest art-run-test-730-checker-inlining-super Test: atest --test-mapping art:presubmit Bug: 140373913 Change-Id: I587b4df7af3021d800c346cb909e759051027cf1 Merged-In: I587b4df7af3021d800c346cb909e759051027cf1
2021-05-14Reland "Devirtualize to HInvokeStaticOrDirect."Nicolas Geoffray
This reverts commit 39d4df62d4e2606073d05cc363370db825ad7b9f. Reason for revert: fix JIT-zygote issue. Test: JIT zygote boots. Change-Id: I895ad8e59e472fb662ca9bc5394c2fd9c6babc74
2021-05-07Revert "Devirtualize to HInvokeStaticOrDirect."Nicolas Geoffray
This reverts commit 5024ddfd125b5c3b59d7f359ae33cf7f0255b048. Bug: 187408838 Reason for revert: b/187408838 Change-Id: If74f5ddbacc73296f66c55762e2a8d1ec2cd1f19
2021-05-06Devirtualize to HInvokeStaticOrDirect.Nicolas Geoffray
When we statically know the target method, devirtualize an HInvokeInterface or an HInvokeVirtual to a HInvokeStaticOrDirect. Test: test.py Bug: 182538502 Change-Id: Ie3a58603cde300fca9ca4972d4dfbbd20918f5ba
2021-04-30Put 75% of ART run-tests in `TEST_MAPPING` group `mainline-presubmit`.Roland Levillain
Include more ART run-tests into the `mainline-presubmit` test group. This progressive rollout is to make sure introducing ART run-tests to this test group won't disturb/break Android presubmits. Output of `art/test/utils/regen-test-files`: $ art/test/utils/regen-test-files Generated Blueprint files for 623 ART run-tests out of 927 (67%). Generated TEST_MAPPING entries for 376 ART run-tests out of 927 (40%): 282 tests (75%) in `mainline-presubmit` test group. 376 tests (100%) in `presubmit` test group. 0 tests (0%) in `postsubmit` test group. Test: Rely on TreeHugger presubmits Bug: 178703264 Bug: 152374989 Change-Id: I947fa6380e09f22dabe3e0b9713e32191cc52e21
2021-04-20Put 50% of ART run-tests in `TEST_MAPPING` group `mainline-presubmit`.Roland Levillain
Include more ART run-tests into the `mainline-presubmit` test group. This progressive rollout is to make sure introducing ART run-tests to this test group won't disturb/break Android presubmits. Output of `art/test/utils/regen-test-files`: $ art/test/utils/regen-test-files Generated Blueprint files for 622 ART run-tests out of 925 (67%). Generated TEST_MAPPING entries for 376 ART run-tests out of 925 (40%): 188 tests (50%) in `mainline-presubmit` test group. 376 tests (100%) in `presubmit` test group. 0 tests (0%) in `postsubmit` test group. Test: Rely on TreeHugger presubmits Bug: 178703264 Bug: 152374989 Change-Id: Ifc2260f9cb6b0e3d067b0613dd5f19ae1a65aeed
2021-04-18Regenerate ART test files.Roland Levillain
Disable new run-test `821-many-args` as it is currently failing when run with the `ArtRunTest` TradeFed test runner. Output of `art/test/utils/regen-test-files -m`: $ art/test/utils/regen-test-files Generated Blueprint files for 622 ART run-tests out of 924 (67%). Generated TEST_MAPPING entries for 376 ART run-tests out of 924 (40%): 94 tests (25%) in `mainline-presubmit` test group. 376 tests (100%) in `presubmit` test group. 0 tests (0%) in `postsubmit` test group. Test: atest --test-mapping art:presubmit Change-Id: I03d13ca5ce1c26b31bf2c47a34f5c3826702728b
2021-04-10Disable 1004-checker-volatile-ref-load in TEST_MAPPINGDavid Srbecky
The test is failing, and blocking all ART presubmits now. Bug: 185009362 Change-Id: I5c0c773bd158ff7f7e1f33c46ca83dfbfedd1262
2021-04-08Remove ArtGtestsTarget from TEST_MAPPINGDavid Srbecky
Since If4efdfa9fe52e4ddb5c6a3ed409a27935b17cebf, it is an obsolete name which does not exist any more. Gtests are run via gcl config (not via TEST_MAPPING). Bug: 184717393 Change-Id: I32fc448cf31679463c1ef13bdab304e8972630e2
2021-03-24Put 25% of ART run-tests in `TEST_MAPPING` group `mainline-presubmit`.Roland Levillain
Include more ART run-tests into the `mainline-presubmit` test group. This progressive rollout is to make sure introducing ART run-tests to this test group won't disturb/break Android presubmits. Output of `art/test/utils/regen-test-files`: $ art/test/utils/regen-test-files Generated Blueprint files for 621 ART run-tests out of 920 (67%). Generated TEST_MAPPING entries for 377 ART run-tests out of 920 (40%): 94 tests (25%) in `mainline-presubmit` test group. 377 tests (100%) in `presubmit` test group. 0 tests (0%) in `postsubmit` test group. Test: Rely on TreeHugger presubmits Bug: 178703264 Bug: 152374989 Change-Id: Idf96255ff0d591ec2d2aab63c5c6521ce26577f7
2021-03-22Disable tests failing on Cuttlefish x86 and regenerate ART test files.Roland Levillain
The following tests have been failing on build target cf_x86_phone-userdebug_coverage: - `art-run-test-530-checker-lse2` - `art-run-test-583-checker-zero` Disable them while we investigate. Output of `art/test/utils/regen-test-files -m`: $ art/test/utils/regen-test-files -m Generated Blueprint files for 621 ART run-tests out of 920 (67%). Generated TEST_MAPPING entries for 377 ART run-tests out of 920 (40%): 37 tests (10%) in `mainline-presubmit` test group. 377 tests (100%) in `presubmit` test group. 0 tests (0%) in `postsubmit` test group. Generated ART MTS entries for 377 ART run-tests out of 920 (40%). Test: atest --test-mapping art:all Bug: 167385698 Bug: 152374989 Change-Id: Iac8219a88228fb2d8bd97e53da3acb458cf2b6b2
2021-03-19Regenerate ART test files.Roland Levillain
Output of `art/test/utils/regen-test-files -m`: $ art/test/utils/regen-test-files -m Generated Blueprint files for 621 ART run-tests out of 920 (67%). Generated TEST_MAPPING entries for 379 ART run-tests out of 920 (41%): 37 tests (10%) in `mainline-presubmit` test group. 379 tests (100%) in `presubmit` test group. 0 tests (0%) in `postsubmit` test group. Generated ART MTS entries for 379 ART run-tests out of 920 (41%). Test: atest --test-mapping art:all Bug: 152374989 Change-Id: I75ad59a97b4955032282926e53f08a98115b6fae
2021-03-12Add madvising of .odex, .vdex and .art filesJagadeesh Pakaravoor
1. When mmaping {.art, .odex, .vdex} files madvise them to MADV_WILLNEED 2. Add system properties to limit the madvise size/range Test: presubmit Bug: 178853586 Change-Id: I14afc7cc038ebbf6bba5a393ef222050284dd86d
2021-03-09Move 100% of ART run-tests to test group `presubmit` in `TEST_MAPPING`.Roland Levillain
Move remaining ART run-tests from the `postsubmit` test group to the `presubmit` test group. This progressive rollout is to make sure introducing ART run-tests to this test group won't disturb/break Android presubmits. Output of `art/test/utils/regen-test-files`: $ art/test/utils/regen-test-files Generated Blueprint files for 621 ART run-tests out of 920 (67%). Generated TEST_MAPPING entries for 379 ART run-tests out of 920 (41%): 37 tests (10%) in `mainline-presubmit` test group. 379 tests (100%) in `presubmit` test group. 0 tests (0%) in `postsubmit` test group. Test: atest --test-mapping art:presubmit Bug: 152374989 Bug: 169310621 Change-Id: I309d3aa3ff7e36522ef445694a83c5bd95e0ef79
2021-03-01Move 75% of ART run-tests to test group `presubmit` in `TEST_MAPPING`.Roland Levillain
Move some more ART run-tests from the `postsubmit` test group to the `presubmit` test group. This progressive rollout is to make sure introducing ART run-tests to this test group won't disturb/break Android presubmits. Output of `art/test/utils/regen-test-files`: $ art/test/utils/regen-test-files Generated Blueprint files for 621 ART run-tests out of 919 (67%). Generated TEST_MAPPING entries for 379 ART run-tests out of 919 (41%): 18 tests (5%) in `mainline-presubmit` test group. 284 tests (75%) in `presubmit` test group. 95 tests (25%) in `postsubmit` test group. Test: atest --test-mapping art:presubmit Test: atest --test-mapping art:postsubmit Bug: 152374989 Bug: 169310621 Change-Id: I72874fe39c52c1c0945b4cc2c48820fc432e4054
2021-03-01Put 10% of ART run-tests in `TEST_MAPPING` group `mainline-presubmit`.Roland Levillain
Include more ART run-tests into the `mainline-presubmit` test group. This progressive rollout is to make sure introducing ART run-tests to this test group won't disturb/break Android presubmits. Output of `art/test/utils/regen-test-files`: $ art/test/utils/regen-test-files Generated Blueprint files for 621 ART run-tests out of 919 (67%). Generated TEST_MAPPING entries for 379 ART run-tests out of 919 (41%): 37 tests (10%) in `mainline-presubmit` test group. 189 tests (50%) in `presubmit` test group. 190 tests (50%) in `postsubmit` test group. Test: atest --test-mapping art:mainline-presubmit Bug: 178703264 Bug: 152374989 Change-Id: I9dff31c5044583856d1586a437fdf35dd437a8df
2021-02-26Regenerate ART test files to reinclude ART Checker tests.Roland Levillain
This partly reverts commit 463255b4f1fcc8c34856a6b0780cf5ef238941c2. Reason for revert: Checker support in test suites is complete. Output of `art/test/utils/regen-test-files`: $ art/test/utils/regen-test-files Generated Blueprint files for 621 ART run-tests out of 919 (67%). Generated TEST_MAPPING entries for 379 ART run-tests out of 919 (41%): 18 tests (5%) in `mainline-presubmit` test group. 189 tests (50%) in `presubmit` test group. 190 tests (50%) in `postsubmit` test group. Test: atest --test-mapping art:all Test: m mts && mts-tradefed run commandAndExit mts-art Bug: 169852871 Bug: 162408889 Change-Id: Ic081869d6629776c0d70e8ceb3c2e9f0d3bf0caa
2021-02-23Put 5% of ART run-tests in `TEST_MAPPING` group `mainline-presubmit`.Roland Levillain
Include more ART run-tests into the `mainline-presubmit` test group. This progressive rollout is to make sure introducing ART run-tests to this test group won't disturb/break Android presubmits. Output of `art/test/utils/regen-test-files`: $ art/test/utils/regen-test-files Generated Blueprint files for 621 ART run-tests out of 918 (67%). Generated TEST_MAPPING entries for 256 ART run-tests out of 918 (27%): 12 tests (5%) in `mainline-presubmit` test group. 128 tests (50%) in `presubmit` test group. 128 tests (50%) in `postsubmit` test group. Also make some stylistic changes (e.g. use list comprehensions instead of `map()` and `lambda`; use parentheses for implied line continuation instead of escaping line breaks with backslashes). Test: atest --test-mapping art:mainline-presubmit Bug: 178703264 Bug: 152374989 Change-Id: I25950b02fbd3a1cbd4193a5f7b87f8b3867bd16b
2021-02-18Move 50% of ART run-tests to test group `presubmit` in `TEST_MAPPING`.Roland Levillain
Move some more ART run-tests from the `postsubmit` test group to the `presubmit` test group. This progressive rollout is to make sure introducing ART run-tests to this test group won't disturb/break Android presubmits. Output of `art/test/utils/regen-test-files`: $ art/test/utils/regen-test-files Generated Blueprint files for 621 ART run-tests ouf of 918 (67%). Generated TEST_MAPPING entries for 256 ART run-tests ouf of 918 (27%): 128 tests (50%) in `presubmit` test group; 128 tests (50%) in `postsubmit` test group. Test: atest --test-mapping art:presubmit Test: atest --test-mapping art:postsubmit Bug: 152374989 Bug: 169310621 Change-Id: I3660f22987373b16e9306967876fe2ed229cdaab
2021-02-18Use Python's `json` to generate `TEST_MAPPING` in `regen-test-files`.Roland Levillain
This greatly simplifies the implementation of `Generator.regen_test_mapping_file`, but removes the ability to insert comments in the middle of the JSON output. Test: Run `test/utils/regen-test-files` and check the resulting `TEST_MAPPING` and `Android.bp` files are the same, except for comments in the middle of `TEST_MAPPING`. Bug: 152374989 Change-Id: Ifd5e60134ed8ddf00b305f819f6954d5570273cb
2021-02-05Sort tests in `test/utils/regen-test-files` in a deterministic order.Roland Levillain
Test: Run `test/utils/regen-test-files` and check the resulting `TEST_MAPPING` file. Bug: 147814778 Change-Id: I492ee56c70a72273862ce1cd9a8cf9fec1fee7bd
2021-02-05Regenerate ART test files.Roland Levillain
Test: atest art-run-test-818-clinit-nterp Bug: 147814778 Change-Id: Ib9199f75723776f8ef0d54e2843e29eeec637592
2021-02-04Initial commit of the test code for ART ServiceChris Wailes
This CL adds the scaffolding for testing the ART Tools and ART Service libraries. The command `atest ArtServiceTest` will fail with Tradefed errors, but these same errors are generated by existing tests such as `atest android-icu4j-tests`. Test: m test-art-host-gtest && atest ArtServiceTest Bug: 177273468 Merged-In: I053f2446144a1fc020b040b952a370ab7779dd47 Change-Id: I053f2446144a1fc020b040b952a370ab7779dd47
2021-02-02Experiment with ART Mainline Module Testing in Test Mapping.Roland Levillain
Register ART run-test `001-HelloWorld ` as a Mainline presubmit test in Test Mapping. Test: Rely on TreeHugger Bug: 178703264 Change-Id: I04a103cf1c442f87f2ecfb0c8a1223b66cfa0f7e
2021-01-29Regenerate ART test files.Roland Levillain
Test: atest art-run-test-815-invokeinterface-default Bug: 147814778 Change-Id: I5e1096622c5340c8730d4c6a09273cdb0b7a2818
2021-01-19Regenerate ART test files.Roland Levillain
Test: atest art-run-test-814-large-field-offsets Test: atest art-run-test-2232-write-metrics-to-log Bug: 147814778 Change-Id: Idc477d283d3a5ed05e4a3f523e04be39be596b74
2021-01-15Revert "Revert^2 "[metrics] Add background reporting thread""Nicolas Geoffray
This reverts commit 4c176b9de6c430422395017910633bcb001b2e84. Reason for revert: Test fails on target. Change-Id: Idfef53679cf602c7c10a9cc0ffb16fda583ed78f
2021-01-14Revert^2 "[metrics] Add background reporting thread"Eric Holk
This adds a background thread that reports metrics every N seconds, where N is specified by the -Xmetrics-reporting-period command line option. Periodic reporting is disabled by default. This reverts commit 73366109eec37b75f77f24e6e52832047508b34f. The reason this was previously reverted was due to failures where JVMTI reported an unexpected thread at startup. This change fixes the issue by adding the metrics background reporting thread to the list of allowed threads in ti_thread.cc. Test: test/run-test --host 2233-metrics-background-thread Test: adb shell stop && \ adb shell setprop dalvik.vm.extra-opts \ -Xmetrics-reporting-period=30\\\ -Xwrite-metrics-to-log && \ adb shell start && \ adb logcat # observe metrics in log Change-Id: I5eea4a4551de9cf4672a461c09521ef871063a91
2021-01-13Revert "Revert^2 "[metrics] Add file output support""Nicolas Geoffray
This reverts commit 8ef84f233a55972eb3a3d84c11c1617531af8e92. Bug: 175025360 Bug: 170149255 Reason for revert: test failing on target Change-Id: I8d82462f6fb853ece4a4b295de17ab13b1f1b6f1
2021-01-12Revert^2 "[metrics] Add file output support"Eric Holk
Adds a new command line option, -Xwrite-metrics-to-file=_, which specifies a file for writing metrics to. This can be used in conjunction with -Xwrite-metrics-to-log, which will cause the output to go to both logcat and the file. Writing metrics to a file can be helpful for testing or benchmarking environments. Access to the file is protected using advisory locking, so it is safe to have multiple processes write metrics to the same file. This reverts commit ce2e0957f065002293ef152da28b6fa941c6baa3. Reason for revert: Fixed test failures by adding Android.bp file. Test: test/run-test --host test/2234-write-metrics-to-file Bug: 175025360 Bug: 170149255 Change-Id: I6768f5b4920896fc0f8e5866c878af999f73012d
2020-11-10arm64: Implement VarHandle CAS intrinsics.Vladimir Marko
And refactor Unsafe CAS intrinsics for code reuse. Add extra tests to the 160-read-barrier-stress to test the slow paths. The main path is sufficiently exercised by the 712-varhandle-invocations test. The refactored Unsafe CAS is already covered by 004-Unsafe and 160-read-barrier-stress. Using benchmarks provided by https://android-review.googlesource.com/1420959 on blueline little cores with fixed frequency 1420800: before after CompareAndSetStaticFieldInt 24.721 0.026 CompareAndSetStaticFieldString 29.015 0.032 CompareAndSetFieldInt 27.237 0.028 CompareAndSetFieldString 31.326 0.033 WeakCompareAndSetStaticFieldInt 24.735 0.027 WeakCompareAndSetStaticFieldString 28.970 0.031 WeakCompareAndSetFieldInt 27.252 0.028 WeakCompareAndSetFieldString 31.309 0.036 WeakCompareAndSetPlainStaticFieldInt 24.738 0.026 WeakCompareAndSetPlainStaticFieldString 29.004 0.030 WeakCompareAndSetPlainFieldInt 27.252 0.027 WeakCompareAndSetPlainFieldString 31.326 0.035 WeakCompareAndSetAcquireStaticFieldInt 24.728 0.026 WeakCompareAndSetAcquireStaticFieldString 28.977 0.030 WeakCompareAndSetAcquireFieldInt 27.250 0.027 WeakCompareAndSetAcquireFieldString 31.306 0.034 WeakCompareAndSetReleaseStaticFieldInt 24.738 0.026 WeakCompareAndSetReleaseStaticFieldString 28.994 0.032 WeakCompareAndSetReleaseFieldInt 27.250 0.028 WeakCompareAndSetReleaseFieldString 31.312 0.035 CompareAndExchangeStaticFieldInt 23.898 0.026 CompareAndExchangeStaticFieldString 28.544 0.032 CompareAndExchangeFieldInt 26.787 0.027 CompareAndExchangeFieldString 31.022 0.034 CompareAndExchangeAcquireStaticFieldInt 23.957 0.026 CompareAndExchangeAcquireStaticFieldString 28.586 0.031 CompareAndExchangeAcquireFieldInt 26.785 0.026 CompareAndExchangeAcquireFieldString 31.011 0.033 CompareAndExchangeReleaseStaticFieldInt 23.963 0.026 CompareAndExchangeReleaseStaticFieldString 28.511 0.032 CompareAndExchangeReleaseFieldInt 26.729 0.027 CompareAndExchangeReleaseFieldString 30.938 0.034 Test: testrunner.py --target --64 --optimizing Test: Repeat with ART_USE_READ_BARRIER=false ART_HEAP_POISONING=true. Test: Repeat with ART_READ_BARRIER_TYPE=TABLELOOKUP. (Ignore two pre-existing checker test failures.) Bug: 71781600 Change-Id: I01b2218bb812bc636a941f9bd67c844aee5f8b41
2020-11-05Move 25% of ART run-tests to test group `presubmit` in `TEST_MAPPING`.Roland Levillain
Move some more ART run-tests from the `postsubmit` test group to the `presubmit` test group. This progressive rollout is to make sure introducing ART run-tests to this test group won't disturb/break Android presubmits. Output of `art/test/utils/regen-test-files`: $ art/test/utils/regen-test-files Generated Blueprint files for 616 ART run-tests ouf of 909 (67%). Generated TEST_MAPPING entries for 253 ART run-tests ouf of 909 (27%): 63 tests (25%) in `presubmit` test group; 190 tests (75%) in `postsubmit` test group. Test: atest --test-mapping art:presubmit Test: atest --test-mapping art:postsubmit Bug: 152374989 Bug: 169310621 Change-Id: I69966c39b0d67181149a08adf7d0982e394f7aad
2020-10-27Move 10% of ART run-tests to test group `presubmit` in `TEST_MAPPING`.Roland Levillain
Move a few more ART run-tests from the `postsubmit` test group to the `presubmit` test group. This progressive rollout is to make sure introducing ART run-tests to this test group won't disturb/break Android presubmits. Output of `art/test/utils/regen-test-files`: $ art/test/utils/regen-test-files Generated Blueprint files for 616 ART run-tests ouf of 909 (67%). Generated TEST_MAPPING entries for 253 ART run-tests ouf of 909 (27%): 25 tests (10%) in `presubmit` test group; 228 tests (90%) in `postsubmit` test group. Test: atest --test-mapping art:presubmit Test: atest --test-mapping art:postsubmit Bug: 152374989 Bug: 169310621 Change-Id: I3e401d0c441467b94390b678fccb0395263863c7
2020-10-17Move 5% of ART run-tests to the `presubmit` test group in `TEST_MAPPING`.Roland Levillain
Move a few more ART run-tests from the `postsubmit` test group to the `presubmit` test group. This progressive rollout is to make sure introducing ART run-tests to this test group won't disturb/break Android presubmits. Test: atest --test-mapping art:presubmit Test: atest --test-mapping art:postsubmit Bug: 152374989 Bug: 169310621 Change-Id: Ib0d5a69178481049dccad3a1a3b2e3389bd3ddc0
2020-10-14Only tag supported ART run-tests as part of `art-target-run-test`.Roland Levillain
All ART (target) run-tests supported at the build-level have been tagged as part of the `art-target-run-test` TradeFed test suite; however, only a part of them are actually expected to suceed at run time at the moment, meaning that many tests are currently failing on the postsubmit configuration running tests tagged as `art-target-run-test` (currently running only on crosshatch devices). To avoid this, use a different test configuration template for test expected to succeed and for test expected to fail, and only have the former test configuration template tag the test as part of the `art-target-run-test` test suite. Test: atest --test-mapping art:all Test: Rely on ATP post-submit testing Bug: 152374989 Bug: 147812905 Change-Id: I29ecc1d3021765cb5467f3a6f4e9d64afc4caead
2020-10-13Move a few ART run-tests to the `presubmit` test group in `TEST_MAPPING`.Roland Levillain
Move 1% of ART run-tests from the `postsubmit` test group to the `presubmit` test group. This progressive rollout is to make sure introducing ART run-tests to this test group won't disturb/break Android presubmits. This partly reverts commit d9a7d0abcba766114d7b64311ea3aee4a66b2154. Test: atest --test-mapping art:presubmit Test: atest --test-mapping art:postsubmit Bug: 152374989 Bug: 169310621 Change-Id: I9c0388f26cb4fbce5f8c2e24c3d1cd256960880d
2020-10-02Temporarily exclude Checker tests from ART test mapping.Roland Levillain
These tests currently break some ATP (postsubmit) test runs (see b/169852871), as Checker support in test suites is not complete. Test: atest --test-mapping art:postsubmit Bug: 169852871 Bug: 162408889 Change-Id: I39ebb261e64de7207dee21c1ce1ecce0d44e7451
2020-09-24Revert "Move ART run-tests to the `presubmit` test group in `TEST_MAPPING`."Roland Levillain
This reverts commit 455e5c2eef7cf00d561e39a3af9ad97e7284a5bb. Reason for revert: The original change broke many presubmits. Bug: 152374989 Change-Id: Ia01a2f7e5e718b5fa9ff2daa2ef820dc4f092225
2020-09-17Move ART run-tests to the `presubmit` test group in `TEST_MAPPING`.Roland Levillain
Test: atest --test-mapping art:presubmit Bug: 152374989 Change-Id: I5a36d9ad0dd7212b21018896f258df0aeea4d2be
2020-09-16Move ART gtests to the `presubmit` test group in `TEST_MAPPING`.Roland Levillain
Test: atest --test-mapping art:presubmit Bug: 152379281 Change-Id: Ieae5f3d8ee69c71bcdac4a7e006d82e193a12715
2020-07-17Move ART run-tests to the `postsubmit` test group in `TEST_MAPPING`. am: ↵Roland Levillain
f12dd5861e am: 329b76e70a Original change: https://android-review.googlesource.com/c/platform/art/+/1364819 Change-Id: I07944e8e896a445f901f9f63e9a2428a78afb45c
2020-07-17Move ART run-tests to the `postsubmit` test group in `TEST_MAPPING`.Roland Levillain
Test: atest --test-mapping art:postsubmit Test: Check Android post-submit testing results Bug: 152374989 Change-Id: If60ba4a3179f58d33e69872cd4016b827744e16f
2020-07-14Add `TEST_MAPPING` entries for supported target ART run-tests. am: ↵Roland Levillain
d2c30c33ed am: 37e404ddca Original change: https://android-review.googlesource.com/c/platform/art/+/1352353 Change-Id: I961af6f1899f550fa70fe213a94e20bb0ade6191
2020-07-14Add `TEST_MAPPING` entries for supported target ART run-tests.Roland Levillain
Add entries to ART's `TEST_MAPPING` file for target (device) ART run-tests that can be built and are expected to succeeded. Place these tests in group test `run-tests` for now. Test: art/test/utils/regen-test-files Test: atest --test-mapping art:art-run-tests Bug: 147812905 Bug: 152374989 Change-Id: I7e626d679e5aeef3e6f2b4fec8350a7679cac89d
2020-03-12Enable ART's target gtests in postsubmit. am: fcc51211e6 am: 2f94158383Automerger Merge Worker
Change-Id: Ie3fec4490cd3b5d38b45039a6e0317bf3fecc466
2020-03-12Enable ART's target gtests in postsubmit.David Srbecky
Test: atest :postsubmit Change-Id: I0a13a93e4b78403fdfe07e95e90473e2210b5ccb