Current Path : /usr/src/tools/regression/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/src/tools/regression/TODO |
$FreeBSD: release/9.1.0/tools/regression/TODO 137587 2004-11-11 19:47:55Z nik $ --- A lot of the tests written in C use assert(), only printing 'ok' at the end of the program if none of the assert()s fired. This is wrong. They should do the test outside of an assert(), and print 'ok' or 'not ok' as appropriate, instead of bailing out part way through. That way if a test starts failing we'll know exactly which one failed, and the other tests can continue. This probably means a simple libtest.so that they can link against to provide an ok() function (the non-fatal assert), probably with some helper functions to keep track of test numbers and so on. --- Any of the tests written in C should link against the libraries under /usr/obj rather than using the system libraries. --- Not everything's been converted to the new style. In particular; atm/ ccd/ some of geom_*/ some of netinet/ nfsmmap/ p1003_1b/ some of pipe/ security/ some of sockets/ tls/ needs to be converted. And fsx/ and gaithrstress/ are (I think) standalone programs rather than individual tests, so aren't amenable to this sort of conversion.