On 10/10/11 12:02 AM, Paul Goyette wrote:
Hmmmm. It seems that with the recent addition in the Makefile of TESTS_C=t_exhaust suddenly the PROG=h_regex line isn't working. I'm no expert in the Makefile stuff, but I wonder if TESTS_C happens to use/override the PROG mechanism?
bsd.tests.mk doesn't override PROG, but it is used under the hood. Replacing PROG=h_regex with PROGS+=h_regex will DTRT (see, e.g. lib/libc/net/Makefile for an example).