Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

When running a small set of script tests, the performance of the test system can be quite slow because by default, the test system searches ALL .tc files in the test system for cases that match your RunDef configuration.  If you need to run a few tests, you can configure the RunDef file carefully for a dramatic performance improvement.  When applying filters in "And" mode, the test system applies the Folder the Folders filter first.  Folders that do not match criteria are not loaded and therefore, .tc files and other data are also not loaded, saving considerable time.   For efficient execution of a small set of tests:

  1. Include the tests you want included in the Cases list

  2. Include the folders in which those cases are found in the Folders list
  3. DO NOT add Requirements or Categories filters in your RunDef file (and also don't leave them empty lists)

Here Below is an example RunDef.m file that efficiently runs the test named STM_GMAT_PD45 which is located in the FRR-13_DynamicsModels folder.

Code Block
RunDef.Build       = 'NightlyBuild';
RunDef.GmatExe     = 'c:\PATHTOYOURBINDIRECTORY\GMAT.exe';
RunDef.Modes       = {'script'};
RunDef.Comparisons = {'truth'};
RunDef.Reporters    = {'ScreenReporter'};
RunDef.Cases        = {'STM_GMAT_PD45'};
RunDef.Folders      = {'FRR-13_DynamicsModels'};
RunDef.FilterMode   = 'and';
%  THIS MUST BE COMMENTED OUT
%RunDef.Requirements = {}
%  THIS MUST BE COMMENTED OUT
%RunDef.Categories = {}

...