Tests with invalid code were written into the test suite to test for the proper
handling of errors in the conditional compilation code. Then regression
testing, using the rtesting.pl
script, could be used by capturing the
error message for each invalid test. All error messages caused by invalid test
files are captured in a single file called badtests
. In
badtests
, the test
file name and error message will be listed for each invalid test file. Once
this file is hand-verified, renamed to badtests.v
, and
badtests.v
is checked
into the RCS, rtesting.pl
will display a .diff
file if there is
any change in the badtests
file on subsequent runs.