Fantastic!  Nice work!

BTW, this information should be moved to the Wiki on how to use the test 
system.    Can you migrate this information to here: 
http://gmatcentral.org/display/GW/Script+Testing

It probably should go as a new subsection in this section:

[cid:[email protected]]

From: gmat-nav <[email protected]> On Behalf Of Cooley, D S. 
(GSFC-5950) via gmat-nav
Sent: Saturday, February 1, 2020 12:30 AM
To: [email protected]; [email protected]
Subject: [gmat-nav] [gmat-nav-all] Regression test System - method to 
automatically generate an *.m file to re-rerun failed tests

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
    • Re: [Gmat-buildtest]... Hughes, Steven P. (GSFC-5950) via Gmat-buildtest

Reply via email to