-
-
Notifications
You must be signed in to change notification settings - Fork 314
Adding AQAvit support for a New Platform
If the platform is quite similar to other platforms, this is a relatively straight-forward task. This will cover basic running of many tests. Changes need to be made in the following files:
- aqa-tests/buildenv/jenkins/openjdk_tests file, by adding the new platform to the PLATFORM_MAP (see this PR as an example)
- TKG/resources/buildPlatformMap.properties (see PR as example)
TKG queries the machine for information about the platform and resources available. If there are warnings during setup relating to CPU detection or other queries, you may have to make updates to MachineInfo.java (see PR as an example).
For compiling native test material (which exists in openjdk and system test material), a few additional changes may be needed, if the platform needs specific compiler args or configuration.
TODO: share links to PRs for examples of these changes (in aqa-systemtest/STF), essentially looking at other similar changes to native makefiles, such as openjdk.test.modularity/src/tests/com.test.jlink/native/makefile. See also STF PR.
See https://github.com/adoptium/aqa-tests/issues/2224 for an example of an unsolved 'complication'