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


next up previous contents index
Next: testsuite Up: System verification Previous: runtests

Subsections



testdefs

Report and test makedefs variable definitions.

Synopsis

testdefs

Description

testdefs is a GNU makefile which defines rules for reporting the values of makedefs variables and optionally testing their validity. testdefs is an adjunct to makedefs (p[*]); it is not meant to be used independently.

Test categories are:

Note that about 40% of makedefs variables can't be sensibly tested. Chief among these are the variables which define compiler options.

Notes

Files

$AIPSARCH/testdefs
...rules for reporting and testing variable definitions.

Diagnostics

testdefs associates one of three error levels with invalid variable definitions:

ADVISORY: A correction may be needed depending on the availability of resources such as libraries or modes of compiler operation.

This error level is typically associated with missing third-party object libraries whose absence may cause restricted compilation or link failures. Roughly a quarter of all errors fall into this category.

WARNING: An incorrect definition was found which should be fixed otherwise some rules will fail.

About two thirds of all errors fall into this category.

SERIOUS: A fundamental problem was found which will cause important rules to fail.

This error level is given for an invalid AIPSROOT or AIPSARCH, or problems which will cause catastrophic compile or link failures such as missing compilers.

See also

The GNU make manual.
The GNU manual page for gmake.
AIPS++ variable names (§1.2).
gmake (p[*]), GNU make.
makedefs adjuncts (p[*]), Per-sourcefile makedefs definitions.
makefiles (p[*]), GNU makefiles used to rebuild AIPS++.

Author

Original: 1996/03/15 by Mark Calabretta, ATNF


next up previous contents index
Next: testsuite Up: System verification Previous: runtests   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