summaryrefslogtreecommitdiff
path: root/test/1929-exception-catch-exception
AgeCommit message (Collapse)Author
2022-11-02Run-tests: Rename "run" files to "run.py" David Srbecky
Make it explicit that they are python files. Make the file attributes non-executable. Test: test.py -b -r --host --optimizing --64 Change-Id: I874c8453032298bcc15dbd1030a3f7c0fd58254f
2022-10-24Revert^2 "Convert per-test run scripts to python." David Srbecky
This reverts commit 8d6a4e021e1dc4717939e05aee89c9b18e383d12. Reason for revert: Reland Test: test.py -r --all-target Test: diff emitted test commands before and after Change-Id: I8b99d9b3804615f2ebc50171a4368ad87d809300
2022-10-23Revert "Convert per-test run scripts to python." David Srbecky
This reverts commit 895c27039a57ec19efc8f526ac17b1ae28e2edd9. Reason for revert: Breaks tests Change-Id: If7d346b23731d32d1fdf31346bebcb658fbce421
2022-10-23Convert per-test run scripts to python. David Srbecky
Test: test.py -r --all-target Test: diff emitted test commands before and after Change-Id: I05003b5cde0e39ffc7d037ef875a45f13dd83755
2020-11-10Verify ART run-tests' standard output and standard error separately. Roland Levillain
Introduce expected standard error files for ART run-tests. Collect tests' standard output and standard error separately and check them against the corresponding expectation file. Test: Run ART run-tests on host and device using `testrunner.py`. Test: atest --test-mapping art:all Test: atest --test-mapping cts/hostsidetests/jvmti:all Bug: 171865375 Bug: 147812905 Change-Id: Ie95bec4a4684ff6791d464124ce8976339432d1f
2020-11-05Rename ART run-tests `expected.txt` files as `expected-stdout.txt`. Roland Levillain
This is in preparation for the addition of `expected-stderr.txt` files in all ART run-test directories, which will record the expected standard error for each of these tests, and which will be verified along with `expected-stdout.txt`. Test: Run ART run-tests on host and device using `testrunner.py`. Test: atest --test-mapping art:all Bug: 171865375 Bug: 147812905 Change-Id: I37e3c4b8409475790e2fc63514cdf57156d47ff4
2019-05-14Centralize all the jvmti common test classes Alex Light
We share many common JVMTI test classes between our various JVMTI tests. We have always shared them by simply copying the .java files to any tests that need them. This leads to very large code-reviews and requires manual work if we ever need to update any of the helper files. To ensure everything stays in sync this moves all classes to a single test/ti-common directory that tests then contain symlinks into. Test: ./test.py --host Change-Id: I82238a63d281429196ed0e640e4a9ec3234d954c
2018-05-24ART: Remove jack from test Orion Hodson
Test: art/test.py --host Change-Id: I31b0c0d57d344f54a8c0545fd32c81a893b4ec75
2018-03-20Replace DX DexMerger with D8 in platform Alan Leung
BUG: 73981693 Test: art/test.py --verbose -j200 --host -b Change-Id: Idf7b71807019aca91094f69dba8c6b62e1a6bf16
2018-02-13Ensure that all StackTrace.java files are identical for CTS Alex Light
Also need to update some of the expectations since they include line numbers from the StackTrace.java file. These files all need to be identical in order for us to use these tests with CTS. Fix the single difference between them. Test: ./test.py --host -j50 Test: for i in `find . -name "StackTrace.java" -type f`; do diff $i test/1912-get-set-local-primitive/src/art/StackTrace.java; done Bug: 73252141 Change-Id: Ibd412b26e3ad4c82a625a2a8cc3b73ed43e89a29
2017-10-24Enable D8 for test 1929-exception-catch-exception. Ian Zerny
This test passes after fixing D8 issue 65864735 where try-catch ranges were not always trimmed during coalescing. Bug: 65864735 Bug: 65203529 Bug: 65168732 Test: art/test/run-test --build-with-d8 --host 1929 Change-Id: I2ba1d1f9e490ff9648f337aa65ecae7190a7c240
2017-10-10Fix USE_D8 in conjunction with USE_D8_BY_DEFAULT Alan Leung
We can no longer use DX=dx. Instead, we can just set USE_D8=false after that USE_D8_BY_DEFAULT change. Bug: 67569208 Test: ./art/test.py --host Change-Id: Ic48157e6a26acc1380fc5ef40076d4e3b65c2b79
2017-10-02Disable D8 for a subset of the tests Alan Leung
Instead of using D8 for those tests, we will continue to run them with DX instead. Keep in mind that as long as D8 is not default yet. This CL is no-op for every build. Bug: 65168732, 65850560, 65203529 Test: USE_D8=true ANDROID_COMPILE_WITH_JACK=false art/test.py -j20 --host -b For 65168732: *-checker-*/build For 65850560: 910-methods/build 911-get-stack-trace/build 913-heaps/build For 65203529: 1929-exception-catch-exception/build Change-Id: I281b013dd93e10dfde0731d05b8d662232861ba5
2017-09-05Revert "Revert "JVMTI Exception and ExceptionCatch events"" Alex Light
Fixed error where we were incorrectly not updating a ShadowFrame dex_pc causing deoptimization errors. Bug: 62821960 Bug: 65049545 Test: ./test.py --host -j50 Test: ./art/tools/run-libcore-tests.sh \ --mode=host --variant-X32 --debug This reverts commit 959742483885779f106e000df6dd422fc8657931. Change-Id: I91ab2bc3e645ddf0359c189b19a59a3ecf0d8921
2017-09-04Revert "JVMTI Exception and ExceptionCatch events" Nicolas Geoffray
Breaks tests. Bug: 62821960 Bug: 65049545 This reverts commit 798eab03120f6189e8f6aa804d67af1b1d9f00b0. Change-Id: Ie96903df06bbbe41f288f5b75a5114b142998fac
2017-09-01JVMTI Exception and ExceptionCatch events Alex Light
Add support for the JVMTI can_generate_exception_events capability. This includes the Exception and ExceptionCatch events and all their associated behaviors. Test: ./test.py --host -j50 Bug: 62821960 Bug: 65049545 Change-Id: I21cc8522c01033cdeb47bf34fa433bf04bf7ca5c