6d931c08fa
r266074: Move old fmake tests into bmake and hook them to the build. This first step is mostly to prevent the code from rotting even further and to ensure these do not get wiped when fmake's code is removed from the tree. These tests are currently being skipped because they detect the underlying make is not fmake and thus disable themselves -- and the reason is that some of the tests fail, possibly due to legitimate bugs. Enabling them to run against bmake will come separately. Lastly, it would be ideal if these tests were fed upstream but they are not ready for that yet. In the interim, just put them under usr.bin/bmake/ while we sort things out. The existence of a different unit-tests directory within here makes me feel less guilty about this. Change confirmed working with a clean amd64 build. r266104: Undo changes to the generated Makefile. Move tests directory to proper location, including updating the test to work in the more-fragile fmake -> bmake bootstrap environment. r266147: Makefile.inc is also included by the tests subdirectory, which results in SUBDIRS having tests added to it, which fails. Work around this by checking to make sure tests exists before adding it to subdirs and work to get the generated file fixed so we can rename Makefile.inc to something else so it isn't automatically included by subdirs... |
||
---|---|---|
.. | ||
arch.c | ||
arch.h | ||
buf.c | ||
buf.h | ||
cond.c | ||
cond.h | ||
config.h | ||
dir.c | ||
dir.h | ||
for.c | ||
for.h | ||
globals.h | ||
GNode.h | ||
hash_tables.c | ||
hash_tables.h | ||
hash.c | ||
hash.h | ||
job.c | ||
job.h | ||
lst.c | ||
lst.h | ||
main.c | ||
make.1 | ||
make.c | ||
make.h | ||
Makefile | ||
Makefile.dist | ||
parse.c | ||
parse.h | ||
pathnames.h | ||
proc.c | ||
proc.h | ||
shell.c | ||
shell.h | ||
str.c | ||
str.h | ||
suff.c | ||
suff.h | ||
targ.c | ||
targ.h | ||
util.c | ||
util.h | ||
var.c | ||
var.h |