Hello,

openbsd has a regression testuite in a base tree. Testset for each
component is in a separate directory, Makefiles for each testsuite uses
bsd.regress.mk framework and connected to the root Makefile. So it is
easy to run overall testsuite with 'make regress'.

But tests for some utilities are placed with sources and not linked to
Makefiles. Looks like it is dead, unusable code and broken tests.
It means that no one never run these tests.
I went through these abandoned tests:

- bin/ed/test

connected to the Makefile in a source directory, tests looks broken.

- lib/libexpat/tests/

tests requires external unit testing framework (check).

- usr.bin/sed/TEST

directory contains several tests, but there no infrustructure to run
them and files with expected results. Moreover the same tests are
present in regress/usr.bin/sed dir.

- gnu/usr.bin/binutils/gdb/testsuite

test suite requires dejagnu package from ports, it is not connected to
the Makefile in sources and tests have many fails (about a couple of
hundreds).

- usr.bin/m4/TEST

dir contains examples of m4 files not tests,
Makefile is absent.

Similar situation with these tests:

- gnu/usr.bin/gcc/gcc/testsuite
- usr.bin/ctags/test
- lib/libssl/test
- lib/libkeynote/testsuite

Are there real reasons to keep these tests separately?

Sergey

Reply via email to