Version:

IN THIS ARTICLE

Automated Review Integration

The integration of the TIAF native and Python runtimes into O3DE’s Automated Review (AR) is handled by a set of Python scripts that can be found here . The driver script, tiaf_driver.py, is invoked by Jenkins with the arguments specified by command line options. This script invokes the appropriate TestImpact class that in turn invokes the appropriate runtime executable with the given arguments. To debug the TIAF AR scripts, see the section How do I reproduce a TIAF AR run locally?.

AR Integration Diagram

Below is a simplified diagram of the TIAF AR scripts and how they integrate into AR. As you can see, Jenkins invokes the TIAF driver script and returns a return code (0 for success, otherwise failures). Output regarding test failures, failures to launch test targets, and any other failures is outputted to the console. For more information about the return codes returned by the runtimes, see the section Runtime return codes.

Script arguments
Runtime and persistent storage configuration
Runtime arguments
Test sequence result and report
Test run and coverage data
Report and runtime return code
Report
Runtime return code
Jenkins
TIAF Driver Script
Specialized TestImpact Class
Runtime
PersistentStorage
MARS Report Storage