Skip to content

Adding AQAvit support for a New Platform

Shelley Lambert edited this page Jul 27, 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)
  3. TKG/resources/ottawa.csv (see PR_1 and PR_2 as an example. Note: we intend to add default entries (WIP), to avoid need for this in future).

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