...
- Create the build
- Log into
gs580w-gmat-t4
as "gs580w-gmat-t4\builduser
". The credentials are on the network drive, in theInfrastructure
folder. - Start Task Scheduler.
- [RC1 only] Disable the "GMAT Daily Build" task, so it doesn't run automatically during the RC cycle (this can make things overly confusing).
- Manually run the "GMAT Daily Build" task.
- Log into
- Create the bundles
- On your local system, navigate to
SourceForge\trunk\build\install\windows-nsis
. There's aREADME.txt
file there that explains things. - Open a MinGW Shell in this directory.
- Run "
make VERSION=R2013bR2014a-rc#
", where "#
" is the number of the RC you're creating. This will create four packages in the current directory: A.zip
and a.exe
file for both the internal and public versions. - Copy the four package files to the network:
\\mesa-file\595\GMAT\Builds\windows\VS2010_build
- To clean everything up afterwards, run "
make clean
".
- On your local system, navigate to
- Run the script test system on the internal installer package. See Running the script test system, below.
...
- Log into
gs580w-gmat-t4
as "gs580w-gmat-t4\testuser
". The credentials are on the network drive, in theInfrastructure
folder. - [RC1 only] Start Task Scheduler and disable the "Run Script Test" task. You'll need to run the RC tests manually.
- Uninstall all previous versions of GMAT.
- Install the version being tested.
- Check "Enable MATLAB interface".
- Leave "Associate file types" unchecked.
- Update the test system repo (located at
C:\Users\testuser\Documents\GmatTest
) - In MATLAB (64-bit):
- Run:
>> cd C:\Users\testuser\Documents\GmatTest\bin
- Run (replace
#
with RC number and<config>
with "internal
" or "public
"):>> diary('..\log\R2013bR2014a-rc#-<config>.log')
- 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')
- In
C:\Users\testuser\Documents\GmatTest\bin
, copy the appropriate template (autorundef.R2013bInternalR2014aInternal.template.m
orautorundef.R2013bPublicR2014aPublic.template.m
) to a new name (such asautorundef.R2013bInternalRC1R2014aInternalRC1.template.m
) and fill in the values:RunDef.Build
: "R2013bR2014a-rc#-<config>
"RunDef.GmatExe
: path to installedGMAT.exe
RunDef.RegressionBuild
: last build date if testing RC1 (look inGmatTest\output
for latest folder, such as2013-07-31
), otherwise, "R2013bR2014a-rc#-<config>
"
- Run:
>>gmattest <name of rundef.m>
(e.g.autorundef.R2013bRc1InternalR2014aRc1Internal.m
) - Wait until run completes (usually 8+ hours)
- Run:
>>diary('off')
- Run:
- In a Windows
cmd
window, post results to network usingrobocopy
:>robocopy "
C:\Users\testuser\Documents\GmatTest
\output\R2013bR2014a-rc#-<config>" "\\mesa-file\595\GMAT\TestResults\win7\R2013bR2014a-rc#-<config>" /E /MT /LOG:%TEMP%\robocopy.txt
...