Hi All,

Often when we run a regression test, a number of tests fail.  Sometimes it is 
an erroneous failure.  In any event, we may need to re-run just the failed 
tests.

1.       This is a cumbersome tedious cut-and-paste process.  Per 
GMT-6841<http://bugs.gmatcentral.org/browse/GMT-6841>, Test System Enhancement: 
Write out tests to be re-run, this process is now automated.

If you add the following to your original matlab regression test script,

                RunDef.TestHelpers = { 'AutoGenerateForReRun' };

then, a matlab file to re-run just the failed tests will be automatically 
generated.

For example, if your original regression test has the following statement:

                RunDef.Build       = 'Gustavo_Test';

then, the file generated will be called 
\output\Gustavo_Test\Gustavo_Test_rerun.m     (i.e.,  "_rerun" is appended to 
the build name)

We can thank  Gustavo for this new and useful capability.  This capability has 
been added to the nightly Windows regression tests.

Regards,
Steve


_______________________________________________
Gmat-buildtest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gmat-buildtest
  • [Gmat-buildtest] Regressi... Cooley, D S. (GSFC-5950) via Gmat-buildtest

Reply via email to