Skip to content

Framework: PR testing changed packages

James Willenbring requested to merge william76:PRTesting-ChangedPackages into develop

Created by: william76

@trilinos/framework

Description

Update to PR Autotester scripts to use the Tribits based changed-packages utility to create a packageEnables.cmake file.

Motivation and Context

The current auto-tester defaults to a more conservative model of selecting packages to enable in testing. This can result in long test times for trivial changes such as modifying some ctest drivers, etc. when we would not need to retest everything in that situation.

This update will reduce some of these testing times by using the Tribits/CMake infrastructure to more accurately determine which packages need to be built based on the files that are changed between develop and the source branch.

Relates to #3133 (closed)

How Has This Been Tested?

I ran these tests on Jenkins to test the changes for the GCC 4.9.3 compiler:

  1. Tested a change to a file in Tpetra that kicked off testing.
  2. Tested a change to a file in cmake/ctest/drivers/dorksaber to test that the new script will not enable packages for testing.

Merge request reports