Migrate tools/regression/usr.bin/make/ to the new tests layout.
Note that these tests are for fmake, not bmake, and thus they are not installed nor run when bmake is selected (the default). Yes, I have wasted a *ton* of time on moving tests for no real reason other than ensuring they are not left behind. But maybe, just maybe, it was not work in vain: the majority of these tests also work with bmake and the few that don't may point at broken stuff. For example, the tests for the "archive" feature do not work with bmake, but bmake's manpage and source tree seem to imply that they should. So... to be investigated later; need to poke sjg@.
This commit is contained in:
parent
f743627b41
commit
d525bcd959
@ -111,6 +111,104 @@
|
|||||||
..
|
..
|
||||||
m4
|
m4
|
||||||
..
|
..
|
||||||
|
make
|
||||||
|
archives
|
||||||
|
fmt_44bsd
|
||||||
|
..
|
||||||
|
fmt_44bsd_mod
|
||||||
|
..
|
||||||
|
fmt_oldbsd
|
||||||
|
..
|
||||||
|
..
|
||||||
|
basic
|
||||||
|
t0
|
||||||
|
..
|
||||||
|
t1
|
||||||
|
..
|
||||||
|
t2
|
||||||
|
..
|
||||||
|
t3
|
||||||
|
..
|
||||||
|
..
|
||||||
|
execution
|
||||||
|
ellipsis
|
||||||
|
..
|
||||||
|
empty
|
||||||
|
..
|
||||||
|
joberr
|
||||||
|
..
|
||||||
|
plus
|
||||||
|
..
|
||||||
|
..
|
||||||
|
shell
|
||||||
|
builtin
|
||||||
|
..
|
||||||
|
meta
|
||||||
|
..
|
||||||
|
path
|
||||||
|
..
|
||||||
|
path_select
|
||||||
|
..
|
||||||
|
replace
|
||||||
|
..
|
||||||
|
select
|
||||||
|
..
|
||||||
|
..
|
||||||
|
suffixes
|
||||||
|
basic
|
||||||
|
..
|
||||||
|
src_wild1
|
||||||
|
..
|
||||||
|
src_wild2
|
||||||
|
..
|
||||||
|
..
|
||||||
|
syntax
|
||||||
|
directive-t0
|
||||||
|
..
|
||||||
|
enl
|
||||||
|
..
|
||||||
|
funny-targets
|
||||||
|
..
|
||||||
|
semi
|
||||||
|
..
|
||||||
|
..
|
||||||
|
sysmk
|
||||||
|
t0
|
||||||
|
2
|
||||||
|
1
|
||||||
|
..
|
||||||
|
..
|
||||||
|
mk
|
||||||
|
..
|
||||||
|
..
|
||||||
|
t1
|
||||||
|
2
|
||||||
|
1
|
||||||
|
..
|
||||||
|
..
|
||||||
|
mk
|
||||||
|
..
|
||||||
|
..
|
||||||
|
t2
|
||||||
|
2
|
||||||
|
1
|
||||||
|
..
|
||||||
|
..
|
||||||
|
mk
|
||||||
|
..
|
||||||
|
..
|
||||||
|
..
|
||||||
|
variables
|
||||||
|
modifier_M
|
||||||
|
..
|
||||||
|
modifier_t
|
||||||
|
..
|
||||||
|
opt_V
|
||||||
|
..
|
||||||
|
t0
|
||||||
|
..
|
||||||
|
..
|
||||||
|
..
|
||||||
ncal
|
ncal
|
||||||
..
|
..
|
||||||
printf
|
printf
|
||||||
|
@ -4129,6 +4129,376 @@ OLD_FILES+=usr/tests/lib/atf/libatf-c/process_test
|
|||||||
OLD_FILES+=usr/tests/lib/atf/libatf-c/sanity_test
|
OLD_FILES+=usr/tests/lib/atf/libatf-c/sanity_test
|
||||||
OLD_FILES+=usr/tests/lib/atf/libatf-c/text_test
|
OLD_FILES+=usr/tests/lib/atf/libatf-c/text_test
|
||||||
OLD_FILES+=usr/tests/lib/atf/libatf-c/user_test
|
OLD_FILES+=usr/tests/lib/atf/libatf-c/user_test
|
||||||
|
.if ${MK_MAKE} == yes && ${MK_BMAKE} == yes
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_44bsd/legacy_test
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_44bsd/Kyuafile
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_44bsd/Makefile.test
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_44bsd/expected.status.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_44bsd/expected.status.2
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_44bsd/expected.status.3
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_44bsd/expected.status.4
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_44bsd/expected.status.5
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_44bsd/expected.status.6
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_44bsd/expected.status.7
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_44bsd/expected.stderr.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_44bsd/expected.stderr.2
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_44bsd/expected.stderr.3
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_44bsd/expected.stderr.4
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_44bsd/expected.stderr.5
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_44bsd/expected.stderr.6
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_44bsd/expected.stderr.7
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_44bsd/expected.stdout.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_44bsd/expected.stdout.2
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_44bsd/expected.stdout.3
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_44bsd/expected.stdout.4
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_44bsd/expected.stdout.5
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_44bsd/expected.stdout.6
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_44bsd/expected.stdout.7
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_44bsd/libtest.a
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_44bsd_mod/legacy_test
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_44bsd_mod/Kyuafile
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_44bsd_mod/Makefile.test
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_44bsd_mod/expected.status.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_44bsd_mod/expected.status.2
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_44bsd_mod/expected.status.3
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_44bsd_mod/expected.status.4
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_44bsd_mod/expected.status.5
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_44bsd_mod/expected.status.6
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_44bsd_mod/expected.status.7
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_44bsd_mod/expected.stderr.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_44bsd_mod/expected.stderr.2
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_44bsd_mod/expected.stderr.3
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_44bsd_mod/expected.stderr.4
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_44bsd_mod/expected.stderr.5
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_44bsd_mod/expected.stderr.6
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_44bsd_mod/expected.stderr.7
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_44bsd_mod/expected.stdout.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_44bsd_mod/expected.stdout.2
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_44bsd_mod/expected.stdout.3
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_44bsd_mod/expected.stdout.4
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_44bsd_mod/expected.stdout.5
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_44bsd_mod/expected.stdout.6
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_44bsd_mod/expected.stdout.7
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_44bsd_mod/libtest.a
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_oldbsd/legacy_test
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_oldbsd/Kyuafile
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_oldbsd/Makefile.test
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_oldbsd/expected.status.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_oldbsd/expected.status.2
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_oldbsd/expected.status.3
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_oldbsd/expected.status.4
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_oldbsd/expected.status.5
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_oldbsd/expected.status.6
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_oldbsd/expected.status.7
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_oldbsd/expected.stderr.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_oldbsd/expected.stderr.2
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_oldbsd/expected.stderr.3
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_oldbsd/expected.stderr.4
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_oldbsd/expected.stderr.5
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_oldbsd/expected.stderr.6
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_oldbsd/expected.stderr.7
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_oldbsd/expected.stdout.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_oldbsd/expected.stdout.2
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_oldbsd/expected.stdout.3
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_oldbsd/expected.stdout.4
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_oldbsd/expected.stdout.5
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_oldbsd/expected.stdout.6
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_oldbsd/expected.stdout.7
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/fmt_oldbsd/libtest.a
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/archives/Kyuafile
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/basic/t0/legacy_test
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/basic/t0/Kyuafile
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/basic/t0/expected.status.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/basic/t0/expected.stderr.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/basic/t0/expected.stdout.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/basic/t1/legacy_test
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/basic/t1/Kyuafile
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/basic/t1/Makefile.test
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/basic/t1/expected.status.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/basic/t1/expected.stderr.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/basic/t1/expected.stdout.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/basic/t2/legacy_test
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/basic/t2/Kyuafile
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/basic/t2/Makefile.test
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/basic/t2/expected.status.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/basic/t2/expected.stderr.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/basic/t2/expected.stdout.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/basic/t3/legacy_test
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/basic/t3/Kyuafile
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/basic/t3/expected.status.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/basic/t3/expected.stderr.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/basic/t3/expected.stdout.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/basic/Kyuafile
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/execution/ellipsis/legacy_test
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/execution/ellipsis/Kyuafile
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/execution/ellipsis/Makefile.test
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/execution/ellipsis/expected.status.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/execution/ellipsis/expected.stderr.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/execution/ellipsis/expected.stdout.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/execution/empty/legacy_test
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/execution/empty/Kyuafile
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/execution/empty/Makefile.test
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/execution/empty/expected.status.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/execution/empty/expected.stderr.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/execution/empty/expected.stdout.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/execution/joberr/legacy_test
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/execution/joberr/Kyuafile
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/execution/joberr/Makefile.test
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/execution/joberr/expected.status.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/execution/joberr/expected.stderr.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/execution/joberr/expected.stdout.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/execution/plus/legacy_test
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/execution/plus/Kyuafile
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/execution/plus/Makefile.test
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/execution/plus/expected.status.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/execution/plus/expected.stderr.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/execution/plus/expected.stdout.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/execution/Kyuafile
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/builtin/legacy_test
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/builtin/Kyuafile
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/builtin/Makefile.test
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/builtin/expected.status.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/builtin/expected.status.2
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/builtin/expected.stderr.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/builtin/expected.stderr.2
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/builtin/expected.stdout.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/builtin/expected.stdout.2
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/builtin/sh
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/meta/legacy_test
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/meta/Kyuafile
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/meta/Makefile.test
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/meta/expected.status.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/meta/expected.status.2
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/meta/expected.stderr.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/meta/expected.stderr.2
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/meta/expected.stdout.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/meta/expected.stdout.2
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/meta/sh
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/path/legacy_test
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/path/Kyuafile
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/path/Makefile.test
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/path/expected.status.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/path/expected.status.2
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/path/expected.stderr.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/path/expected.stderr.2
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/path/expected.stdout.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/path/expected.stdout.2
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/path/sh
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/path_select/legacy_test
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/path_select/Kyuafile
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/path_select/Makefile.test
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/path_select/expected.status.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/path_select/expected.status.2
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/path_select/expected.stderr.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/path_select/expected.stderr.2
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/path_select/expected.stdout.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/path_select/expected.stdout.2
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/path_select/shell
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/replace/legacy_test
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/replace/Kyuafile
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/replace/Makefile.test
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/replace/expected.status.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/replace/expected.status.2
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/replace/expected.stderr.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/replace/expected.stderr.2
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/replace/expected.stdout.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/replace/expected.stdout.2
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/replace/shell
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/select/legacy_test
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/select/Kyuafile
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/select/Makefile.test
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/select/expected.status.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/select/expected.status.2
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/select/expected.stderr.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/select/expected.stderr.2
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/select/expected.stdout.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/select/expected.stdout.2
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/shell/Kyuafile
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/suffixes/basic/legacy_test
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/suffixes/basic/Kyuafile
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/suffixes/basic/Makefile.test
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/suffixes/basic/TEST1.a
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/suffixes/basic/expected.status.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/suffixes/basic/expected.stderr.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/suffixes/basic/expected.stdout.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/suffixes/src_wild1/legacy_test
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/suffixes/src_wild1/Kyuafile
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/suffixes/src_wild1/Makefile.test
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/suffixes/src_wild1/TEST1.a
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/suffixes/src_wild1/TEST2.a
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/suffixes/src_wild1/expected.status.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/suffixes/src_wild1/expected.stderr.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/suffixes/src_wild1/expected.stdout.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/suffixes/src_wild2/legacy_test
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/suffixes/src_wild2/Kyuafile
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/suffixes/src_wild2/Makefile.test
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/suffixes/src_wild2/TEST1.a
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/suffixes/src_wild2/TEST2.a
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/suffixes/src_wild2/expected.status.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/suffixes/src_wild2/expected.stderr.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/suffixes/src_wild2/expected.stdout.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/suffixes/Kyuafile
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/syntax/directive-t0/legacy_test
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/syntax/directive-t0/Kyuafile
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/syntax/directive-t0/Makefile.test
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/syntax/directive-t0/expected.status.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/syntax/directive-t0/expected.stderr.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/syntax/directive-t0/expected.stdout.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/syntax/enl/legacy_test
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/syntax/enl/Kyuafile
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/syntax/enl/Makefile.test
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/syntax/enl/expected.status.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/syntax/enl/expected.status.2
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/syntax/enl/expected.status.3
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/syntax/enl/expected.status.4
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/syntax/enl/expected.status.5
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/syntax/enl/expected.stderr.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/syntax/enl/expected.stderr.2
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/syntax/enl/expected.stderr.3
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/syntax/enl/expected.stderr.4
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/syntax/enl/expected.stderr.5
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/syntax/enl/expected.stdout.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/syntax/enl/expected.stdout.2
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/syntax/enl/expected.stdout.3
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/syntax/enl/expected.stdout.4
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/syntax/enl/expected.stdout.5
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/syntax/funny-targets/legacy_test
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/syntax/funny-targets/Kyuafile
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/syntax/funny-targets/Makefile.test
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/syntax/funny-targets/expected.status.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/syntax/funny-targets/expected.status.2
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/syntax/funny-targets/expected.stderr.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/syntax/funny-targets/expected.stderr.2
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/syntax/funny-targets/expected.stdout.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/syntax/funny-targets/expected.stdout.2
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/syntax/semi/legacy_test
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/syntax/semi/Kyuafile
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/syntax/semi/Makefile.test
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/syntax/semi/expected.status.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/syntax/semi/expected.status.2
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/syntax/semi/expected.stderr.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/syntax/semi/expected.stderr.2
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/syntax/semi/expected.stdout.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/syntax/semi/expected.stdout.2
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/syntax/Kyuafile
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/sysmk/t0/2/1/legacy_test
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/sysmk/t0/2/1/Kyuafile
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/sysmk/t0/2/1/Makefile.test
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/sysmk/t0/2/1/expected.status.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/sysmk/t0/2/1/expected.stderr.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/sysmk/t0/2/1/expected.stdout.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/sysmk/t0/2/Kyuafile
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/sysmk/t0/mk/sys.mk
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/sysmk/t0/mk/Kyuafile
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/sysmk/t0/Kyuafile
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/sysmk/t1/2/1/legacy_test
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/sysmk/t1/2/1/Kyuafile
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/sysmk/t1/2/1/cleanup
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/sysmk/t1/2/1/expected.status.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/sysmk/t1/2/1/expected.stderr.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/sysmk/t1/2/1/expected.stdout.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/sysmk/t1/2/Kyuafile
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/sysmk/t1/mk/sys.mk
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/sysmk/t1/mk/Kyuafile
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/sysmk/t1/Kyuafile
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/sysmk/t2/2/1/legacy_test
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/sysmk/t2/2/1/Kyuafile
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/sysmk/t2/2/1/cleanup
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/sysmk/t2/2/1/expected.status.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/sysmk/t2/2/1/expected.stderr.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/sysmk/t2/2/1/expected.stdout.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/sysmk/t2/2/Kyuafile
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/sysmk/t2/mk/sys.mk
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/sysmk/t2/mk/Kyuafile
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/sysmk/t2/Kyuafile
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/sysmk/Kyuafile
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/variables/modifier_M/legacy_test
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/variables/modifier_M/Kyuafile
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/variables/modifier_M/Makefile.test
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/variables/modifier_M/expected.status.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/variables/modifier_M/expected.stderr.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/variables/modifier_M/expected.stdout.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/variables/modifier_t/legacy_test
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/variables/modifier_t/Kyuafile
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/variables/modifier_t/Makefile.test
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/variables/modifier_t/expected.status.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/variables/modifier_t/expected.status.2
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/variables/modifier_t/expected.status.3
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/variables/modifier_t/expected.stderr.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/variables/modifier_t/expected.stderr.2
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/variables/modifier_t/expected.stderr.3
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/variables/modifier_t/expected.stdout.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/variables/modifier_t/expected.stdout.2
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/variables/modifier_t/expected.stdout.3
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/variables/opt_V/legacy_test
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/variables/opt_V/Kyuafile
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/variables/opt_V/Makefile.test
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/variables/opt_V/expected.status.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/variables/opt_V/expected.status.2
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/variables/opt_V/expected.stderr.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/variables/opt_V/expected.stderr.2
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/variables/opt_V/expected.stdout.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/variables/opt_V/expected.stdout.2
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/variables/t0/legacy_test
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/variables/t0/Kyuafile
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/variables/t0/Makefile.test
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/variables/t0/expected.status.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/variables/t0/expected.stderr.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/variables/t0/expected.stdout.1
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/variables/Kyuafile
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/Kyuafile
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/common.sh
|
||||||
|
OLD_FILES+=usr/tests/usr.bin/make/test-new.mk
|
||||||
|
OLD_DIRS+=usr/tests/usr.bin/make/variables/t0
|
||||||
|
OLD_DIRS+=usr/tests/usr.bin/make/variables/opt_V
|
||||||
|
OLD_DIRS+=usr/tests/usr.bin/make/variables/modifier_t
|
||||||
|
OLD_DIRS+=usr/tests/usr.bin/make/variables/modifier_M
|
||||||
|
OLD_DIRS+=usr/tests/usr.bin/make/variables
|
||||||
|
OLD_DIRS+=usr/tests/usr.bin/make/sysmk/t2/mk
|
||||||
|
OLD_DIRS+=usr/tests/usr.bin/make/sysmk/t2/2/1
|
||||||
|
OLD_DIRS+=usr/tests/usr.bin/make/sysmk/t2/2
|
||||||
|
OLD_DIRS+=usr/tests/usr.bin/make/sysmk/t2
|
||||||
|
OLD_DIRS+=usr/tests/usr.bin/make/sysmk/t1/mk
|
||||||
|
OLD_DIRS+=usr/tests/usr.bin/make/sysmk/t1/2/1
|
||||||
|
OLD_DIRS+=usr/tests/usr.bin/make/sysmk/t1/2
|
||||||
|
OLD_DIRS+=usr/tests/usr.bin/make/sysmk/t1
|
||||||
|
OLD_DIRS+=usr/tests/usr.bin/make/sysmk/t0/mk
|
||||||
|
OLD_DIRS+=usr/tests/usr.bin/make/sysmk/t0/2/1
|
||||||
|
OLD_DIRS+=usr/tests/usr.bin/make/sysmk/t0/2
|
||||||
|
OLD_DIRS+=usr/tests/usr.bin/make/sysmk/t0
|
||||||
|
OLD_DIRS+=usr/tests/usr.bin/make/sysmk
|
||||||
|
OLD_DIRS+=usr/tests/usr.bin/make/syntax/semi
|
||||||
|
OLD_DIRS+=usr/tests/usr.bin/make/syntax/funny-targets
|
||||||
|
OLD_DIRS+=usr/tests/usr.bin/make/syntax/enl
|
||||||
|
OLD_DIRS+=usr/tests/usr.bin/make/syntax/directive-t0
|
||||||
|
OLD_DIRS+=usr/tests/usr.bin/make/syntax
|
||||||
|
OLD_DIRS+=usr/tests/usr.bin/make/suffixes/src_wild2
|
||||||
|
OLD_DIRS+=usr/tests/usr.bin/make/suffixes/src_wild1
|
||||||
|
OLD_DIRS+=usr/tests/usr.bin/make/suffixes/basic
|
||||||
|
OLD_DIRS+=usr/tests/usr.bin/make/suffixes
|
||||||
|
OLD_DIRS+=usr/tests/usr.bin/make/shell/select
|
||||||
|
OLD_DIRS+=usr/tests/usr.bin/make/shell/replace
|
||||||
|
OLD_DIRS+=usr/tests/usr.bin/make/shell/path_select
|
||||||
|
OLD_DIRS+=usr/tests/usr.bin/make/shell/path
|
||||||
|
OLD_DIRS+=usr/tests/usr.bin/make/shell/meta
|
||||||
|
OLD_DIRS+=usr/tests/usr.bin/make/shell/builtin
|
||||||
|
OLD_DIRS+=usr/tests/usr.bin/make/shell
|
||||||
|
OLD_DIRS+=usr/tests/usr.bin/make/execution/plus
|
||||||
|
OLD_DIRS+=usr/tests/usr.bin/make/execution/joberr
|
||||||
|
OLD_DIRS+=usr/tests/usr.bin/make/execution/empty
|
||||||
|
OLD_DIRS+=usr/tests/usr.bin/make/execution/ellipsis
|
||||||
|
OLD_DIRS+=usr/tests/usr.bin/make/execution
|
||||||
|
OLD_DIRS+=usr/tests/usr.bin/make/basic/t3
|
||||||
|
OLD_DIRS+=usr/tests/usr.bin/make/basic/t2
|
||||||
|
OLD_DIRS+=usr/tests/usr.bin/make/basic/t1
|
||||||
|
OLD_DIRS+=usr/tests/usr.bin/make/basic/t0
|
||||||
|
OLD_DIRS+=usr/tests/usr.bin/make/basic
|
||||||
|
OLD_DIRS+=usr/tests/usr.bin/make/archives/fmt_oldbsd
|
||||||
|
OLD_DIRS+=usr/tests/usr.bin/make/archives/fmt_44bsd_mod
|
||||||
|
OLD_DIRS+=usr/tests/usr.bin/make/archives/fmt_44bsd
|
||||||
|
OLD_DIRS+=usr/tests/usr.bin/make/archives
|
||||||
|
OLD_DIRS+=usr/tests/usr.bin/make
|
||||||
|
.endif
|
||||||
.else
|
.else
|
||||||
# ATF libraries.
|
# ATF libraries.
|
||||||
OLD_FILES+=usr/bin/atf-sh
|
OLD_FILES+=usr/bin/atf-sh
|
||||||
|
@ -1,16 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
# $FreeBSD$
|
|
||||||
|
|
||||||
# find all test scripts below our current directory
|
|
||||||
SCRIPTS=`find . -name test.t`
|
|
||||||
|
|
||||||
if [ -z "${SCRIPTS}" ] ; then
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
for i in ${SCRIPTS} ; do
|
|
||||||
(
|
|
||||||
cd `dirname $i`
|
|
||||||
sh ./test.t $1
|
|
||||||
)
|
|
||||||
done
|
|
@ -118,4 +118,8 @@ fmake.1: make.1
|
|||||||
cp ${.ALLSRC} ${.TARGET}
|
cp ${.ALLSRC} ${.TARGET}
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
.if ${MK_TESTS} != "no"
|
||||||
|
SUBDIR+= tests
|
||||||
|
.endif
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
@ -2,9 +2,7 @@ $FreeBSD$
|
|||||||
|
|
||||||
This directory contains regression tests for make(1).
|
This directory contains regression tests for make(1).
|
||||||
|
|
||||||
To invoke the tests install prove(1) from ports/devel/p5-Test-Harness and
|
To invoke the tests, please refer to tests(7).
|
||||||
run 'prove -r'. Alternatively one can use 'sh ./all.sh test' and scan the
|
|
||||||
output for '^not ok'.
|
|
||||||
|
|
||||||
----------------------------------------------------------------------------
|
----------------------------------------------------------------------------
|
||||||
|
|
@ -1,9 +1,7 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
|
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
cd `dirname $0`
|
. $(dirname $0)/../../common.sh
|
||||||
. ../../common.sh
|
|
||||||
|
|
||||||
# Description
|
# Description
|
||||||
DESC="Archive parsing (BSD4.4 format)."
|
DESC="Archive parsing (BSD4.4 format)."
|
@ -1,9 +1,7 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
|
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
cd `dirname $0`
|
. $(dirname $0)/../../common.sh
|
||||||
. ../../common.sh
|
|
||||||
|
|
||||||
# Description
|
# Description
|
||||||
DESC="Archive parsing (modified BSD4.4 format)."
|
DESC="Archive parsing (modified BSD4.4 format)."
|
@ -1,9 +1,7 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
|
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
cd `dirname $0`
|
. $(dirname $0)/../../common.sh
|
||||||
. ../../common.sh
|
|
||||||
|
|
||||||
# Description
|
# Description
|
||||||
DESC="Archive parsing (old BSD format)."
|
DESC="Archive parsing (old BSD format)."
|
@ -1,9 +1,7 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
|
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
cd `dirname $0`
|
. $(dirname $0)/../../common.sh
|
||||||
. ../../common.sh
|
|
||||||
|
|
||||||
# Description
|
# Description
|
||||||
DESC="An empty Makefile file and no target given."
|
DESC="An empty Makefile file and no target given."
|
@ -1,9 +1,7 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
|
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
cd `dirname $0`
|
. $(dirname $0)/../../common.sh
|
||||||
. ../../common.sh
|
|
||||||
|
|
||||||
# Description
|
# Description
|
||||||
DESC="A Makefile file with only a 'all:' file dependency specification."
|
DESC="A Makefile file with only a 'all:' file dependency specification."
|
@ -1,9 +1,7 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
|
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
cd `dirname $0`
|
. $(dirname $0)/../../common.sh
|
||||||
. ../../common.sh
|
|
||||||
|
|
||||||
# Description
|
# Description
|
||||||
DESC="A Makefile file with only a 'all:' file dependency specification, and shell command."
|
DESC="A Makefile file with only a 'all:' file dependency specification, and shell command."
|
@ -1,9 +1,7 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
|
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
cd `dirname $0`
|
. $(dirname $0)/../../common.sh
|
||||||
. ../../common.sh
|
|
||||||
|
|
||||||
# Description
|
# Description
|
||||||
DESC="No Makefile file, no command line target."
|
DESC="No Makefile file, no command line target."
|
@ -1,8 +1,6 @@
|
|||||||
#!/bin/sh
|
# $FreeBSD$
|
||||||
#
|
#
|
||||||
# Common code used run regression tests for usr.bin/make.
|
# Common code used run regression tests for usr.bin/make.
|
||||||
#
|
|
||||||
# $FreeBSD$
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Output a message and exit with an error.
|
# Output a message and exit with an error.
|
||||||
@ -99,8 +97,8 @@ common_setup()
|
|||||||
#
|
#
|
||||||
# If a Makefile exists in the source directory - copy it over
|
# If a Makefile exists in the source directory - copy it over
|
||||||
#
|
#
|
||||||
if [ -e Makefile -a ! -e ${WORK_DIR}/Makefile ] ; then
|
if [ -e ${SRC_DIR}/Makefile.test -a ! -e ${WORK_DIR}/Makefile ] ; then
|
||||||
cp Makefile ${WORK_DIR}/Makefile
|
cp ${SRC_DIR}/Makefile.test ${WORK_DIR}/Makefile
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -123,10 +121,11 @@ common_setup()
|
|||||||
#
|
#
|
||||||
set -- ${TEST_COPY_FILES}
|
set -- ${TEST_COPY_FILES}
|
||||||
while [ $# -ne 0 ] ; do
|
while [ $# -ne 0 ] ; do
|
||||||
if [ ! -e ${WORK_DIR}/${1} ] ; then
|
local dstname="$(echo ${1} | sed -e 's,Makefile.test,Makefile,')"
|
||||||
cp ${1} ${WORK_DIR}/${1}
|
if [ ! -e ${WORK_DIR}/${dstname} ] ; then
|
||||||
|
cp ${SRC_DIR}/${1} ${WORK_DIR}/${dstname}
|
||||||
fi
|
fi
|
||||||
chmod ${2} ${WORK_DIR}/${1}
|
chmod ${2} ${WORK_DIR}/${dstname}
|
||||||
shift ; shift
|
shift ; shift
|
||||||
done
|
done
|
||||||
|
|
||||||
@ -338,23 +337,24 @@ eval_compare()
|
|||||||
else
|
else
|
||||||
eval skip=\${TEST_${N}_SKIP}
|
eval skip=\${TEST_${N}_SKIP}
|
||||||
fi
|
fi
|
||||||
|
msg=
|
||||||
if [ ! -z "$fail" ]; then
|
if [ ! -z "$fail" ]; then
|
||||||
echo -n "not "
|
msg="${msg}not "
|
||||||
fi
|
fi
|
||||||
echo -n "ok ${N} ${SUBDIR}/${N}"
|
msg="${msg}ok ${N} ${SUBDIR}/${N}"
|
||||||
if [ ! -z "$fail" -o ! -z "$todo" -o ! -z "$skip" ]; then
|
if [ ! -z "$fail" -o ! -z "$todo" -o ! -z "$skip" ]; then
|
||||||
echo -n " # "
|
msg="${msg} # "
|
||||||
fi
|
fi
|
||||||
if [ ! -z "$skip" ] ; then
|
if [ ! -z "$skip" ] ; then
|
||||||
echo -n "skip $skip; "
|
msg="${msg}skip ${skip}; "
|
||||||
fi
|
fi
|
||||||
if [ ! -z "$todo" ] ; then
|
if [ ! -z "$todo" ] ; then
|
||||||
echo -n "TODO $todo; "
|
msg="${msg}TODO ${todo}; "
|
||||||
fi
|
fi
|
||||||
if [ ! -z "$fail" ] ; then
|
if [ ! -z "$fail" ] ; then
|
||||||
echo "reason: ${fail}"
|
msg="${msg}reason: ${fail}"
|
||||||
fi
|
fi
|
||||||
echo
|
echo ${msg}
|
||||||
N=$((N + 1))
|
N=$((N + 1))
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
@ -368,11 +368,13 @@ eval_compare()
|
|||||||
do_compare()
|
do_compare()
|
||||||
{
|
{
|
||||||
local EXPECTED RESULT
|
local EXPECTED RESULT
|
||||||
EXPECTED="expected.$1.$2"
|
EXPECTED="${SRC_DIR}/expected.$1.$2"
|
||||||
RESULT="${OUTPUT_DIR}/$1.$2"
|
RESULT="${OUTPUT_DIR}/$1.$2"
|
||||||
|
|
||||||
if [ -f $EXPECTED ]; then
|
if [ -f $EXPECTED ]; then
|
||||||
diff -q $EXPECTED $RESULT 1>/dev/null 2>/dev/null
|
cat $RESULT | sed -e "s,^$(basename $MAKE_PROG):,make:," | \
|
||||||
|
diff -u $EXPECTED -
|
||||||
|
#diff -q $EXPECTED - 1>/dev/null 2>/dev/null
|
||||||
return $?
|
return $?
|
||||||
else
|
else
|
||||||
return 1 # FAIL
|
return 1 # FAIL
|
||||||
@ -412,7 +414,7 @@ eval_diff()
|
|||||||
do_diff()
|
do_diff()
|
||||||
{
|
{
|
||||||
local EXPECTED RESULT
|
local EXPECTED RESULT
|
||||||
EXPECTED="expected.$1.$2"
|
EXPECTED="${SRC_DIR}/expected.$1.$2"
|
||||||
RESULT="${OUTPUT_DIR}/$1.$2"
|
RESULT="${OUTPUT_DIR}/$1.$2"
|
||||||
|
|
||||||
echo diff -u $EXPECTED $RESULT
|
echo diff -u $EXPECTED $RESULT
|
||||||
@ -512,50 +514,17 @@ eval_cmd()
|
|||||||
# Main code
|
# Main code
|
||||||
#
|
#
|
||||||
|
|
||||||
#
|
|
||||||
# Parse command line arguments.
|
|
||||||
#
|
|
||||||
args=`getopt m:w:v $*`
|
|
||||||
if [ $? != 0 ]; then
|
|
||||||
echo 'Usage: ...'
|
|
||||||
exit 2
|
|
||||||
fi
|
|
||||||
set -- $args
|
|
||||||
for i; do
|
|
||||||
case "$i" in
|
|
||||||
-m)
|
|
||||||
MAKE_PROG="$2"
|
|
||||||
shift
|
|
||||||
shift
|
|
||||||
;;
|
|
||||||
-w)
|
|
||||||
WORK_BASE="$2"
|
|
||||||
shift
|
|
||||||
shift
|
|
||||||
;;
|
|
||||||
-v)
|
|
||||||
VERBOSE=1
|
|
||||||
shift
|
|
||||||
;;
|
|
||||||
--)
|
|
||||||
shift
|
|
||||||
break
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Determine our sub-directory. Argh.
|
# Determine our sub-directory. Argh.
|
||||||
#
|
#
|
||||||
SRC_DIR=`pwd`
|
SRC_DIR=$(dirname $0)
|
||||||
SRC_BASE=`while [ ! -f common.sh ] ; do cd .. ; done ; pwd`
|
SRC_BASE=`cd ${SRC_DIR} ; while [ ! -f common.sh ] ; do cd .. ; done ; pwd`
|
||||||
SUBDIR=`echo ${SRC_DIR} | sed "s@${SRC_BASE}/@@"`
|
SUBDIR=`echo ${SRC_DIR} | sed "s@${SRC_BASE}/@@"`
|
||||||
|
|
||||||
#
|
#
|
||||||
# Construct working directory
|
# Construct working directory
|
||||||
#
|
#
|
||||||
WORK_BASE=${WORK_BASE:-"/tmp/$USER.make.test"}
|
WORK_DIR=$(pwd)/work/${SUBDIR}
|
||||||
WORK_DIR=${WORK_BASE}/${SUBDIR}
|
|
||||||
OUTPUT_DIR=${WORK_DIR}.OUTPUT
|
OUTPUT_DIR=${WORK_DIR}.OUTPUT
|
||||||
|
|
||||||
#
|
#
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user