1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
Add program to PROGS list in Makefile.am.
Create perl script test_PROGRAM in the test directory.
Should begin with...
#!/usr/local/bin/perl
BEGIN { unshift(@INC,"."); }
use TestTools;
use strict;
..and end with
exit;
END {
$test_handle->print_test_results();
}
..to print test pass headers.
Add tests to TestTools.pm
Add calls to generic tests and new tests to test_ file.
Add working output file to test_data directory.
run
make check
Replace new working output files to test_data directory.
|