1145184SglebiusThe archive of test files contains 
2145184Sglebius
3145184Sglebius- A shell file called REGRESS that controls the testing process.
4145184Sglebius
5145184Sglebius- Several shell files called Compare* that control sub-parts
6145184Sglebiusof the testing.
7145184Sglebius
8145184Sglebius- About 160 small tests called t.* that constitute a random
9145184Sglebiussampling of awk constructions collected over the years.
10155768SceriNot organized, but they touch almost everything.
11145184Sglebius
12155458Sglebius- About 60 small tests called p.* that come from the first
13145184Sglebiustwo chapters of The AWK Programming Language.  This is
14145184Sglebiusbasic stuff -- they have to work.
15216300Ssyrinx
16216300SsyrinxThese two sets are intended as regression tests, to be sure
17216300Ssyrinxthat a new version produces the same results as a previous one.
18216300SsyrinxThere are a couple of standard data files used with them,
19216300Ssyrinxtest.data and test.countries, but others would work too.
20216300Ssyrinx
21216300Ssyrinx- About 20 files called T.* that are self-contained and
22216300Ssyrinxmore systematic tests of specific language features.
23216300SsyrinxFor example, T.clv tests command-line variable handling.
24145184SglebiusThese tests are not regressions -- they compute the right
25145184Sglebiusanswer by separate means, then compare the awk output.
26165685SmaximA specific test for each new bug found shows up in at least
27165685Smaximone of these, most often T.misc.  There are about 220 tests
28145184Sglebiustotal in these files.
29145184Sglebius
30145184Sglebius- Two of these files, T.re and T.sub, are systematic tests
31216300Ssyrinxof the regular expression and substitution code.  They express
32216300Ssyrinxtests in a small language, then generate awk programs that
33216300Ssyrinxverify behavior.
34216300Ssyrinx
35216300Ssyrinx- About 20 files called tt.* that are used as timing tests;
36216300Ssyrinxthey use the most common awk constructions in straightforward
37216300Ssyrinxways, against a large input file constructed by Compare.tt.
38216300Ssyrinx
39145184Sglebius
40216300SsyrinxThere is undoubtedly more stuff in the archive;  it's been
41216300Ssyrinxcollecting for years and may need pruning.  Suggestions for
42216300Ssyrinximprovement, additional tests (especially systematic ones),
43216300Ssyrinxand the like are all welcome.
44216300Ssyrinx
45216300Ssyrinx