Skip to content

Adding AQAvit support for a New Platform

Shelley Lambert edited this page Aug 25, 2022 · 6 revisions

Basic changes (required)

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:

  1. aqa-tests/buildenv/jenkins/openjdk_tests file, by adding the new platform to the PLATFORM_MAP (see this PR as an example)
  2. TKG/resources/buildPlatformMap.properties (see PR as example)

Potential other changes (possibly optional)

Machine information detection

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).

Compiling native test material

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.

Other Complications

See https://github.com/adoptium/aqa-tests/issues/2224 for an example of an unsolved 'complication'