TODO revision 137587
10SN/A$FreeBSD: head/tools/regression/TODO 137587 2004-11-11 19:47:55Z nik $
22362SN/A---
30SN/A
40SN/AA lot of the tests written in C use assert(), only printing 'ok' at the end
50SN/Aof the program if none of the assert()s fired.
60SN/A
72362SN/AThis is wrong.  They should do the test outside of an assert(), and print
80SN/A'ok' or 'not ok' as appropriate, instead of bailing out part way through.
92362SN/AThat way if a test starts failing we'll know exactly which one failed, and
100SN/Athe other tests can continue.
110SN/A
120SN/AThis probably means a simple libtest.so that they can link against to
130SN/Aprovide an ok() function (the non-fatal assert), probably with some helper
140SN/Afunctions to keep track of test numbers and so on.
150SN/A
160SN/A---
170SN/A
180SN/AAny of the tests written in C should link against the libraries under
190SN/A/usr/obj rather than using the system libraries.
200SN/A
212362SN/A---
222362SN/A
232362SN/ANot everything's been converted to the new style.  In particular;
240SN/A
250SN/A   atm/
260SN/A   ccd/
270SN/A   some of geom_*/
280SN/A   some of netinet/
290SN/A   nfsmmap/
300SN/A   p1003_1b/
310SN/A   some of pipe/
320SN/A   security/
330SN/A   some of sockets/
340SN/A   tls/
350SN/A
360SN/Aneeds to be converted.  And fsx/ and gaithrstress/ are (I think) standalone
370SN/Aprograms rather than individual tests, so aren't amenable to this sort of 
380SN/Aconversion.
390SN/A