mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-21 04:13:46 +00:00
Estimated hours taken: 0.1 Added message about the new 'warnings' directory to the README. README: Added message about new 'warnings' directory.
42 lines
1.6 KiB
Plaintext
42 lines
1.6 KiB
Plaintext
The Mercury test suite is (dis)organized into the following subdirectories.
|
|
To run the tests in a particular subdirectory, cd to that directory
|
|
and then do `mmake depend; mmake check'.
|
|
|
|
benchmarks
|
|
This directory contains Mercury versions of the benchmarks.
|
|
These tests work by comparing the output of the Mercury and
|
|
the NU-Prolog versions.
|
|
These tests are run automatically on a regular basis.
|
|
|
|
general
|
|
This directory is for general test cases.
|
|
(It might be a good idea to split this into tests
|
|
of particular features and regression tests that check
|
|
for old bugs. But for the moment, just about everything
|
|
goes in here.)
|
|
These tests work by comparing the output of the Mercury and
|
|
the NU-Prolog versions.
|
|
These tests are run automatically on a regular basis.
|
|
|
|
hard_coded
|
|
This directory is for tests of features that don't work in
|
|
NU-Prolog. The expected output of the program has to be
|
|
hard-coded in a hand-written `.exp' file, rather having the
|
|
`.exp' file be generated automatically using NU-Prolog.
|
|
These tests are run automatically on a regular basis.
|
|
|
|
valid
|
|
This directory is for test cases that are not complete
|
|
programs. `mmake check' just checks that the files compile.
|
|
***These tests are not yet run automatically.***
|
|
|
|
invalid
|
|
This directory is for test cases that are invalid
|
|
programs. `mmake check' should check that the files do
|
|
not compile - but automation of this is not yet implemented.
|
|
***These tests are not yet run automatically.***
|
|
|
|
warnings
|
|
This directory is for tests of compiler warnings. These work by
|
|
comparing the warnings given in the hand-written '.exp' file.
|