Hello,
I think this looks good, but since I made most of the makefile changes,
I would prefer if Magnus had a look through it too.
/Erik
On 2018-10-17 23:29, Ekaterina Pavlova wrote:
Hi All,
Please review the changes which add support to build AOTed jdk modules
and then use them during the testing.
Note, building of AOTed libraries needs to be done at the same machine
the testing is going to be started.
So, this could not be done at jdk build time.
Updated files:
- make/RunTests.gmk, make/RunTestsPrebuilt.gmk,
make/RunTestsPrebuiltSpec.gmk
Main changes which add make procedures and targets to build AOT-ed
libraries.
New environment variable TEST_OPTS_AOT_MODULES is introduced to
specify list of modules to build AOT-ed libraries for.
Ex: TEST_OPTS_AOT_MODULES=java.base java.logging
- make/conf/jib-profiles.js
Added Devkit installation on all platforms required to properly
build AOTed libraries.
- test/hotspot/jtreg/compiler/aot/scripts/java.base-list.txt
test/hotspot/jtreg/compiler/aot/scripts/jdk.internal.vm.compiler-list.txt
These lists were updated based on latest jaotc errors satus.
JBS: https://bugs.openjdk.java.net/browse/JDK-8152988
webrev: http://cr.openjdk.java.net/~epavlova//8152988/webrev.01/
testing: Tested by running subset of hotspot, jdk and jck tests with
TEST_OPTS_AOT_MODULES=java.base jdk.internal.vm.compiler
with "make run-test" and in Mach5.
thanks,
-katya
p.s.
Thanks a lot Erik for huge help with porting original patch done in
old testing framework (test/TestCommon.gmk)
to new one (make/RunTests*).