Configuring a System for Script Testing

Follow these steps to configure a new machine to run the script test system.

  1. Create a new local user on the machine (for example, testuser).
    1. Make sure the user is enabled for RDC logins.
    2. Record the login credentials in credentials.txt in the GMAT network directory.
  2. Install the following software:
    • MATLAB 64-bit (latest)
    • MATLAB 32-bit (latest)
    • TortoiseSVN
      • with the optional command-line tools
    • MinGW
      • with MSYS selected
    • Microsoft Excel
  3. Check out the test system repository:

    svn --username <user> co https://gs580s-jazz.ndc.nasa.gov/svn/GMAT/trunk/test/script testsys
  4. Check out the requirements:

    svn co svn://svn.code.sf.net/p/gmat/code/trunk/doc/SystemDocs/Requirements reqs
  5. Edit this line at the top of each testsys/bin/autorundef.*.template.m file:

    RunDef.SysConfig = '<machine name>/<OS>-<bits>/GMAT-<gmat bits>/M<matlab version>/<compiler>/<gmat configuration>';

    For example:

    RunDef.SysConfig = 'GS580W-GMAT-T4/Win7-64/GMAT-32/M2013a/VS/Internal';
  6. Edit the configuration lines at the top of testsys/bin/autorun.m.
  7. Log into the Jazz repository once using the svn command-line client.
  8. Run autorun.m to start the tests.

Maintenance

On every NDC password expiration:

  • Log into the Jazz repository once using the svn command-line client.