| Version 1.9 Build 1556
|
|
Next: Central services
Up: System verification
Previous: testdefs
Subsections
testsuite
Maintain the most recent cumulative update to have passed the suite of
AIPS++ test programs.
testsuite [-f#]
testsuite maintains a copy of the most recent cumulative update
to have passed the suite of AIPS++ test programs. This is the ``dinkum''
update fetched by specifying the -D option to inhale (p).
testsuite is a special-purpose utility used only by aips2mgr on
the master host. It operates as follows:
- Since it generally takes longer to compile and verify an update than the
interval between successive invokations of exhale (p), testsuite
begins by preserving a copy of the VERSION file and the current
cumulative update file in $MSTRFTPD. It does this by creating
hardlinks to each of these files within $AIPSMSTR/testsuite/, a
special directory created for its exclusive use. (exhale does
not delete a cumulative update file with multiple links to it.)
- testsuite then does a cumulative inhale, mailing the log to
the aips2-inhale exploder.
- When the inhale has finished testsuite invokes
gmake runtests, preserving the log in $BINTESTD/runtests.log.
- It then mails the summary, $BINTESTD/runtests.report, to the
aips2-workers exploder.
- If the test suite passed, testsuite installs the cumulative update as
the new dinkum update by
- Preserving the hardlink to the cumulative update file as
$AIPSMSTR/testsuite/dinkum. This hardlink is never accessed by
the code distribution system, its only purpose is to stop
exhale from deleting the linked-to file in $MSTRFTPD.
- Preserving the VERSION file as $MSTRFTPD/DINKUM. This
file substitutes for the VERSION file when inhale is
invoked with the -D option.
- Finally testsuite prints $BINTESTD/runtests.report
and $BINTESTD/runtests.log on stdout.
aips2mgr in Socorro invokes testsuite once a week via a
cron job in place of inhale -c. It redirects the output
to $AIPSROOT/testsuite.log and also mails it to the
aips2-inhale exploder.
- -f#
- Allow the specified number of failures when deciding whether the test suite
passed or not.
Status return values
0
: success
1
: initialization error
AIPS++ variable names (§1.2).
Section §1.4, AIPS++ accounts and groups.
Section §12.2, diagnostic makefile rules.
assay (p), invoke an AIPS++ test program and verify its output.
exhale (p), AIPS++ code export utility.
inhale (p), AIPS++ code import utility.
runtests (p), run the AIPS++ test programs.
sneeze (p), AIPS++ system rebuild utility.
Original: 1996/09/18 by Mark Calabretta, ATNF.
Next: Central services
Up: System verification
Previous: testdefs
  Contents
  Index
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
2006-10-15