|
7.7 TestingAutomake also includes simple support for testing your program.
The most simple form of this is the `TESTS' variable. This
variable holds a list of tests which are run when the user runs
Automake also supports the notion of an xfail, which is a test which is expected to fail. Sometimes this is useful when you want to track a known failure, but you aren't prepared to fix it right away. Tests which are expected to fail should be listed in both `TESTS' and `XFAIL_TESTS'.
The special prefix `check' can be used with primaries to indicate
that the objects should only be built at
Automake also supports the use of DejaGNU, the GNU test framework. DejaGNU support can be enabled using the `dejagnu' option:
The resulting `Makefile.in' will include code to invoke the
|