summaryrefslogtreecommitdiff
path: root/test/953-invoke-polymorphic-compiler
AgeCommit message (Collapse)Author
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-19test: Don't force-compile with jack for runtestsIgor Murashkin
This fixes 14 more tests with javac/dx. 24 broken tests remaining. Also adds minimum api/sdk versions to dx/desugar (previously desugar was attempting to desugar default methods, because the jar defaults to api level of 1). Also disables desugar for one of the ICCE tests because desugar will crash when it sees incompatible classes. Bug: 36902714 Test: ANDROID_COMPILE_WITH_JACK=false art/test.py Change-Id: If5bc47b8fa88a63cce1b74e6fb1af3a59aca1f89
2017-06-02Tests: never use System.errKevin Brodsky
Always print stack traces to System.out, and replace all System.err.println()'s with System.out.println(). Follow-up of https://android-review.googlesource.com/#/c/187020/ and https://android-review.googlesource.com/#/c/407032/. Test: m test-art-host m test-art-target Change-Id: I9ab9cd955a8db25b2ec6673790e5bc924f62c88a
2017-01-17MethodHandles: Remove experimental flag.Narayan Kamath
Runtime::IsMethodHandlesEnabled now always returns true. This change also removes the (now unnecessary) run scripts for method handle tests. Note that the --experimental=method-handles flag is left in place for the test build steps (etc/default-build) because it's still a convenient way to supply arguments to jack / smali. Test: make test-art-host Change-Id: I8475c7b8ac2615ac382a06ce54be39dce3cc7713
2017-01-15Revert "Revert "ART: Compiler support for invoke-polymorphic.""Orion Hodson
This reverts commit 0fb5af1c8287b1ec85c55c306a1c43820c38a337. This takes us back to the original change and attempts to fix the issues encountered: - Adds transition record push/pop around artInvokePolymorphic. - Changes X86/X64 relocations for MacSDK. - Implements MIPS entrypoint for art_quick_invoke_polymorphic. - Corrects size of returned reference in art_quick_invoke_polymorphic on ARM. Bug: 30550796,33191393 Test: art/test/run-test 953 Test: m test-art-run-test Change-Id: Ib6b93e00b37b9d4ab743a3470ab3d77fe857cda8
2017-01-11Revert "ART: Compiler support for invoke-polymorphic."Orion Hodson
This reverts commit 02e3092f8d98f339588e48691db77f227b48ac1e. Reasons for revert: - Breaks MIPS/MIPS64 build. - Fails under GCStress test on x64. - Different x64 build configuration doesn't like relocation. Change-Id: I512555b38165d05f8a07e8aed528f00302061001
2017-01-11ART: Compiler support for invoke-polymorphic.Orion Hodson
Adds basic support to invoke method handles in compiled code. Enables method verification for methods containing invoke-polymorphic. Adds k45cc/k45rc output to Instruction::DumpString() which was found to be missing when enabling verification. Include stack traces in test 957-methodhandle-transforms for failures so they can be easily identified. Bug: 30550796,33191393 Test: art/test/run-test 953 Test: m test-art-run-test Change-Id: Ic9a96ea24906087597d96ad8159a5bc349d06950