Configuring a System for Script Testing
- Joel Parker
Owned by Joel Parker
Follow these steps to configure a new machine to run the script test system.
- Create a new local user on the machine (for example,
testuser
).- Make sure the user is enabled for RDC logins.
- Record the login credentials in
credentials.txt
in the GMAT network directory.
- Install the following software:
- MATLAB 64-bit (latest)
- MATLAB 32-bit (latest)
- configure this one for libMatlabInterface
- TortoiseSVN
- with the optional command-line tools
- MinGW
- with MSYS selected
- Microsoft Excel
Check out the test system repository:
svn --username <user> co https://gs580s-jazz.ndc.nasa.gov/svn/GMAT/trunk/test/script testsys
Check out the requirements:
svn co svn://svn.code.sf.net/p/gmat/code/trunk/doc/SystemDocs/Requirements reqs
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';
- Edit the configuration lines at the top of
testsys/bin/autorun.m
. - Log into the Jazz repository once using the
svn
command-line client. - 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.