Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 803
News FAQ
Search Home


next up previous contents home.gif
Next: assay() Up: Implementation Previous: sneeze/inhale logs

Weekly Unit Testing

C++ unit tests are performed every week in both Socorro and NFRA on both the aips and trial modules. Tests are run over the weekend and results are mailed to either aips2-modulebosses (Socorro:aips results, NFRA:aips and trial) or aips2-inhale (Socorro:aips and trial results).

The script which performs this task is testsuite (/aips++/daily/$ARCH/bin/testsuite) which runs runtests (also /aips++/daily/$ARCH/bin/runtests). runtests writes a series of reports in /aips++/daily/$ARCH/bintest/ for each module and then a summary file called runtests.report which is parsed by testsum.sh to write the report which is mailed to aips2-lib, etc.

#
# Thursday's daily cumulative inhale is managed by testsuite.
# -----------------------------------------------------------
30 19 * * 4 (. /aips++/daily/.profile ; gmake -C /aips++/daily/code megaunlink 
; /aips++/daily/sun4sol_egcs/bin/testsuite -c ; gmake -C /aips++/daily/code 
megalink) 2>&1 | tee /aips++/daily/testsuite.log | mailx -s "tarzan 
testsuite.log" aips2-inhale@nrao.edu aips2mgr; mailx -s "sun4sol_egcs test 
results summary - aips" aips2-modulebosses aips2-inhale < 
/aips++/daily/sun4sol_egcs/bintest/runtests_aips.summary; mailx -s 
"sun4sol_egcs test results summary - trial" aips2-inhale < 
/aips++/daily/sun4sol_egcs/bintest/runtests_trial.summary
#

These reports are also dumped to files on disk and reviewed each morning if available.



Subsections
next up previous contents home.gif
Next: assay() Up: Implementation Previous: sneeze/inhale logs   Contents
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2004-08-28