[ < ] | [ > ] |  | [ << ] | [ Up ] | [ >> ] |  |  |  |  | [Top] | [Contents] | [Index] | [ ? ]

## 3.8 Test Suite

The Test Suite is used to verify that all features of GPC work as expected and to reproduce bugs reported. Test programs for bugs found by users and for new features are constantly added. The test suite is part of source, not binary, GPC distributions, and it is available separately for download.

- As usual, many new tests have been added to the Test Suite.

- The Test Suite now supports ``WARN'` to check for warnings. On the other hand, ``WRONG'` tests are now run with warnings switched off to detect only real errors.

- The few checks dependent on the system or certain installed tools or libraries have been equipped with checks about the system properties, and are skipped on systems on which they are not applicable.

- The old dejagnu tests have been integrated into the Test Suite.

- ``make pascal.check'` (or ``make check-pascal'`) now runs the current Test Suite (as ``make check2-gpc'` did before) rather than the (now removed) dejagnu tests. This must be done in the build directory (not the ``p'` subdirectory) or in the ``test'` subdirectory of the source directory. (@)

- The Test Suite now produces a summary output by default. To get the long output format as before, run ``make pascal.check-long'` (or ``check-pascal-long'`) now. (@)

- The GPC Manual as well as the ``test/README'` file in source distributions (or ``BUGS'` in binary distributions) tells you how to run the Test Suite and describes all features of the testing environment, to make it easier for users to construct even exotic new tests, and contains some generic instructions on how to report bugs. See section 11.7 Running the GPC Test Suite, and see section 11.6 How to report GPC bugs.

This document was generated by Frank Heckenbach on May, 10 2002 using texi2html