1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-28 16:43:09 +00:00

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.
This commit is contained in:
Julio Merino 2014-05-14 18:43:13 +00:00
parent a9069ffab4
commit 5ae59dec60
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=266074
325 changed files with 93 additions and 92 deletions

View File

@ -133,21 +133,7 @@
atf-sh
..
..
calendar
..
comm
..
file2c
..
join
..
jot
..
lastcomm
..
m4
..
make
bmake
archives
fmt_44bsd
..
@ -245,6 +231,20 @@
..
..
..
calendar
..
comm
..
file2c
..
join
..
jot
..
lastcomm
..
m4
..
ncal
..
printf

View File

@ -3,6 +3,7 @@
#
# $FreeBSD$
.include <src.opts.mk>
.sinclude "Makefile.inc"
SRCTOP?= ${.CURDIR:H:H}
@ -106,6 +107,10 @@ COPTS.meta.c += -DHAVE_FILEMON_H -I${FILEMON_H:H}
SUBDIR+= unit-tests
.endif
.if ${MK_TESTS} != no
SUBDIR+= tests
.endif
MAN= ${PROG}.1
MAN1= ${MAN}

View File

@ -1,6 +1,6 @@
# $FreeBSD$
TESTSDIR= ${TESTSBASE}/usr.bin/make
TESTSDIR= ${TESTSBASE}/usr.bin/bmake
FILESDIR= ${TESTSDIR}
FILES= common.sh

View File

@ -1,6 +1,6 @@
# $FreeBSD$
TESTSDIR= ${TESTSBASE}/usr.bin/make/archives
TESTSDIR= ${TESTSBASE}/usr.bin/bmake/archives
TESTS_SUBDIRS= fmt_44bsd fmt_44bsd_mod fmt_oldbsd

View File

@ -1,6 +1,6 @@
# $FreeBSD$
TESTSDIR= ${TESTSBASE}/usr.bin/make/archives/fmt_oldbsd
TESTSDIR= ${TESTSBASE}/usr.bin/bmake/archives/fmt_44bsd
TAP_TESTS_SH= legacy_test

View File

@ -1,6 +1,6 @@
# $FreeBSD$
TESTSDIR= ${TESTSBASE}/usr.bin/make/archives/fmt_44bsd_mod
TESTSDIR= ${TESTSBASE}/usr.bin/bmake/archives/fmt_44bsd_mod
TAP_TESTS_SH= legacy_test

View File

@ -1,6 +1,6 @@
# $FreeBSD$
TESTSDIR= ${TESTSBASE}/usr.bin/make/archives/fmt_44bsd
TESTSDIR= ${TESTSBASE}/usr.bin/bmake/archives/fmt_oldbsd
TAP_TESTS_SH= legacy_test

View File

@ -1,6 +1,6 @@
# $FreeBSD$
TESTSDIR= ${TESTSBASE}/usr.bin/make/basic
TESTSDIR= ${TESTSBASE}/usr.bin/bmake/basic
TESTS_SUBDIRS= t0 t1 t2 t3

View File

@ -1,6 +1,6 @@
# $FreeBSD$
TESTSDIR= ${TESTSBASE}/usr.bin/make/basic/t3
TESTSDIR= ${TESTSBASE}/usr.bin/bmake/basic/t0
TAP_TESTS_SH= legacy_test

View File

@ -1,6 +1,6 @@
# $FreeBSD$
TESTSDIR= ${TESTSBASE}/usr.bin/make/basic/t2
TESTSDIR= ${TESTSBASE}/usr.bin/bmake/basic/t1
TAP_TESTS_SH= legacy_test

View File

@ -1,6 +1,6 @@
# $FreeBSD$
TESTSDIR= ${TESTSBASE}/usr.bin/make/basic/t1
TESTSDIR= ${TESTSBASE}/usr.bin/bmake/basic/t2
TAP_TESTS_SH= legacy_test

View File

@ -1,6 +1,6 @@
# $FreeBSD$
TESTSDIR= ${TESTSBASE}/usr.bin/make/basic/t0
TESTSDIR= ${TESTSBASE}/usr.bin/bmake/basic/t3
TAP_TESTS_SH= legacy_test

Some files were not shown because too many files have changed in this diff Show More