summaryrefslogtreecommitdiff
path: root/test/157-void-class
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
2021-11-25Regenerate ART test files (2021-11-23 (b)). Roland Levillain
This change enables build support for the following tests, as well as run-time support in automated executions: * `art-run-test-004-NativeAllocations` * `art-run-test-1000-non-moving-space-stress` * `art-run-test-1338-gc-no-los` * `art-run-test-145-alloc-tracking-stress` * `art-run-test-580-checker-fp16` * `art-run-test-580-checker-string-fact-intrinsics` * `art-run-test-659-unpadded-array` * `art-run-test-678-quickening` This change also enables build support (only) for the following tests: * `art-run-test-004-ThreadStress` * `art-run-test-1002-notify-startup` * `art-run-test-157-void-class` * `art-run-test-2012-structural-redefinition-failures-jni-id` * `art-run-test-2230-profile-save-hotness` * `art-run-test-596-monitor-inflation` * `art-run-test-716-jli-jit-samples` * `art-run-test-909-attach-agent` * `art-run-test-912-classes` * `art-run-test-981-dedup-original-dex` Output of `art/test/utils/regen-test-files`: $ art/test/utils/regen-test-files Generated Blueprint files for 656 ART run-tests out of 946 (69%). Generated TEST_MAPPING entries for 403 ART run-tests out of 946 (42%): 403 ART run-tests (100%) in `mainline-presubmit` test group. 18 ART gtests (94%) in `mainline-presubmit` test group. 403 ART run-tests (100%) in `presubmit` test group. 19 ART gtests (100%) in `presubmit` test group. 0 ART run-tests (0%) in `postsubmit` test group. Test: atest -a \ art-run-test-004-NativeAllocations \ art-run-test-1000-non-moving-space-stress \ art-run-test-1338-gc-no-los \ art-run-test-145-alloc-tracking-stress \ art-run-test-580-checker-fp16 \ art-run-test-580-checker-string-fact-intrinsics \ art-run-test-659-unpadded-array \ art-run-test-678-quickening Test: m \ art-run-test-004-ThreadStress \ art-run-test-1002-notify-startup \ art-run-test-157-void-class \ art-run-test-2012-structural-redefinition-failures-jni-id \ art-run-test-2230-profile-save-hotness \ art-run-test-596-monitor-inflation \ art-run-test-716-jli-jit-samples \ art-run-test-909-attach-agent \ art-run-test-912-classes \ art-run-test-981-dedup-original-dex Test: atest --test-mapping art:presubmit Bug: 147812905 Bug: 152374989 Change-Id: Ieb8c533ee2e0ba6e16e5560ffc66ac81f1c0eaed
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
2017-06-21test: enable javac/dx to import libcore on the bootclasspath Igor Murashkin
Fixes 12 tests with javac/dx. Previously, javac with the default bootclasspath (unspecified) was used, meaning that it would usually pickup rt.jar from a developer's JDK system install. With javac-helper.sh, libcore is used for the javac -bootclasspath, enabling art tests to load libcore-specific packages such as libcore or dalvik (in particular, it uses the output of art/tools/bootjars.sh which calculates the correct bootclasspath from the build artifacts). To get libcore on the bootclasspath, source files must be placed in a 'art/test/$TESTNAME/src-art' directory. Otherwise the old behavior is kept to encourage tests to be cross-platform compatible. The minimal set of tests that relied on 'import dalvik/import libcore' had their src directories renamed to src-art, and are now building successfully. Test: ANDROID_COMPILE_WITH_JACK=false art/test.py Bug: 36902714 Change-Id: Iafd245de9e04c312c5ac107897e34d7b97191726
2017-04-21Rename and obsolete compiler filter names. Nicolas Geoffray
ART side of the change. bug:34715556 test: test-art-host, jdwp, libcore Change-Id: I3a73ae4af2d602431150c8ecfceaddb9ba519cee
2017-03-14Revert^6 "Hash-based dex cache type array." Vladimir Marko
Fixed ImageWriter to write class table also if it contains only boot class loader classes. Added a regression test and added extra checks for debug-build to verify that dex cache types from app image are also in the class table. Removed some unnecessary debug output. Test: 158-app-image-class-table Bug: 34839984 Bug: 30627598 Bug: 34659969 This reverts commit 0b66d6174bf1f6023f9d36dda8538490b79c2e9f. Change-Id: I6a747904940c6ebc297f4946feef99dc0adf930c
2017-03-13Revert^5 "Hash-based dex cache type array." Vladimir Marko
For app images, ImageWriter does not add boot image classes to the app image class table even though it keeps them in the dex caches. The reason for that is unknown, the code looks OK. Bug: 34839984 Bug: 30627598 Bug: 34659969 Also reverts "Improve debugging output for a crash." This reverts commits bfb80d25eaeb7a604d5dd25a370e3869e96a33ab, 8dd56fcb3196f466ecaffd445397cb11ef85f89f. Test: testrunner.py --host Change-Id: Ic8db128207c07588c7f11563208ae1e85c8b0e84
2017-02-27Fix java.lang.Void.TYPE (void.class) initialization. Vladimir Marko
Do not rely on the DexCache resolved types now that entries can be evicted. Test: 157-void-class Test: testrunner.py --host Bug: 35652776 Bug: 30627598 Change-Id: Ic384174ae1849072568dd6d2ff9cc60d7f7f1880