Versions Compared

Key

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

...

  1. Log into gs580w-gmat-t4 as "gs580w-gmat-t4\testuser". The credentials are on the network drive, in the Infrastructure folder.
  2. [RC1 only] Start Task Scheduler and disable the "Run Script Test" task. You'll need to run the RC tests manually.
  3. Install the version being tested.
    1. Check "Enable MATLAB interface".
    2. Leave "Associate file types" unchecked.
  4. Update the test system repo located in c:\users\testuser\Documents\GmatTest
  5. In MATLAB (64-bit):
    1. cd c:\users\testuser\Documents\GmatTest\bin
    2. Run (replace # with RC number and <config> with internal or public keyword):
      >> diary('..\log\R2013b-rc#-<config>.log')
    3. Run (this command copies application files such as spice kernels needed for regression tests into the new installation of GMAT):
      >> preparegmat('C:\Path\To\GMAT')
    4. In the c:\users\testuser\Documents\GmatTest\bin, copy the appropriate template (autorundef.R2013bInternal.template.m or autorundef.R2013bPublic.template.m) to a new name (such as autorundef.R2013bInternalRC1.template.m) and fill in the values:
      1. RunDef.Build: "R2013b-rc#-<config>"
      2. RunDef.GmatExe: path to installed GMAT.exe
      3. RunDef.RegressionBuild: last build date if testing RC1 (look in GmatTest\output for latest folder, such as 2013-07-31), otherwise, "R2013b-rc#-<config>"
    5. Run:
      >> gmattest <name of rundef.m> (e.g., autorundef.R2013bInternalRC1.template.m) 
    6. Wait until run completes (usually 8+hours)
    7. Run:
      >> diary('off')
  6. In a Windows cmd window, post results to network using robocopy:
    >robocopy "C:\path\to\output\R2013a-rc#-<config>" "\\mesa-file\595\GMAT\TestResults\win7\R2013a-rc#-<config>" /E /MT /LOG:robocopy.txt

...