On Sat, Jul 19, 2014 at 06:03:18PM +0000, Miod Vallat wrote: > They do; the magic to build libaa comes from > regress/libexec/ld.so/randomdata/Makefile.inc . > > There are no regress tests to run in the libaa directory itself, but it > needs to be in SUBDIR to get the obj directory and symlink created.
The problem is that even though libaa is in SUBDIR, it doesn't do anything when make is called in libaa. It runs 'make regress' in libaa and libaa doesn't have a regress target so it's a nop. I have a log from a partial run of 'make regression-tests' (I hit a bug in kqueue which hangs indefinitely) and it showed up as failing. I went into libexec/ld.so/randomdata and ran 'make depend regress' and it doesn't work without that patch. It would get built if something called 'make' since libaa would have a matching target then. I checked the top level /usr/src/Makefile and the parent of randomdata and they do not call the default target. I just installed an i386 snapshot on a laptop (no local changes yet) and tried it against the latest -current. I still see this behavior when I go into the directory and run 'make depend regress'. It's working for you?
