]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Change the test infrastructure so that tests are easier to maintain and
authorHartmut Brandt <harti@FreeBSD.org>
Tue, 31 May 2005 14:13:07 +0000 (14:13 +0000)
committerHartmut Brandt <harti@FreeBSD.org>
Tue, 31 May 2005 14:13:07 +0000 (14:13 +0000)
commitd9ea463fbfddfbd6506de80bbe3446b8301f1e1b
tree8fadeb40f8b4f59b7bf77d2e8290da809f57ffef
parent500b4917abd738f0a52e4b8a39bd3ad285e580eb
Change the test infrastructure so that tests are easier to maintain and
so that make(1) will run in an almost clean environment and enhance the
description of the test infrastructure.

Add the ability to have multiple tests carried out per test script.

Give some tests more meaningful names.

Fix the usage message from the test scripts.

Make it possible to pass several commands to the test scripts like:
'sh test.t setup run compare clean'.
192 files changed:
tools/regression/usr.bin/make/README
tools/regression/usr.bin/make/archives/fmt_44bsd/Makefile [moved from tools/regression/usr.bin/make/archives/t0/Makefile with 65% similarity]
tools/regression/usr.bin/make/archives/fmt_44bsd/expected.status.1 [moved from tools/regression/usr.bin/make/archives/t0/expected.status with 100% similarity]
tools/regression/usr.bin/make/archives/fmt_44bsd/expected.status.2 [moved from tools/regression/usr.bin/make/archives/t1/expected.status with 100% similarity]
tools/regression/usr.bin/make/archives/fmt_44bsd/expected.status.3 [moved from tools/regression/usr.bin/make/archives/t2/expected.status with 100% similarity]
tools/regression/usr.bin/make/archives/fmt_44bsd/expected.status.4 [moved from tools/regression/usr.bin/make/basic/t1/expected.status with 100% similarity]
tools/regression/usr.bin/make/archives/fmt_44bsd/expected.status.5 [moved from tools/regression/usr.bin/make/basic/t0/expected.status with 100% similarity]
tools/regression/usr.bin/make/archives/fmt_44bsd/expected.status.6 [moved from tools/regression/usr.bin/make/basic/t3/expected.status with 100% similarity]
tools/regression/usr.bin/make/archives/fmt_44bsd/expected.status.7 [moved from tools/regression/usr.bin/make/shell/builtin/expected.status with 100% similarity]
tools/regression/usr.bin/make/archives/fmt_44bsd/expected.stderr.1 [moved from tools/regression/usr.bin/make/basic/t0/expected.stdout with 100% similarity]
tools/regression/usr.bin/make/archives/fmt_44bsd/expected.stderr.2 [moved from tools/regression/usr.bin/make/basic/t1/expected.stderr with 100% similarity]
tools/regression/usr.bin/make/archives/fmt_44bsd/expected.stderr.3 [moved from tools/regression/usr.bin/make/basic/t1/expected.stdout with 100% similarity]
tools/regression/usr.bin/make/archives/fmt_44bsd/expected.stderr.4 [moved from tools/regression/usr.bin/make/basic/t2/expected.stderr with 100% similarity]
tools/regression/usr.bin/make/archives/fmt_44bsd/expected.stderr.5 [new file with mode: 0644]
tools/regression/usr.bin/make/archives/fmt_44bsd/expected.stderr.6 [moved from tools/regression/usr.bin/make/archives/t2/expected.stderr with 55% similarity]
tools/regression/usr.bin/make/archives/fmt_44bsd/expected.stderr.7 [new file with mode: 0644]
tools/regression/usr.bin/make/archives/fmt_44bsd/expected.stdout.1 [moved from tools/regression/usr.bin/make/basic/t3/expected.stdout with 100% similarity]
tools/regression/usr.bin/make/archives/fmt_44bsd/expected.stdout.2 [moved from tools/regression/usr.bin/make/shell/builtin/expected.stdout with 100% similarity]
tools/regression/usr.bin/make/archives/fmt_44bsd/expected.stdout.3 [moved from tools/regression/usr.bin/make/shell/meta/expected.stdout with 100% similarity]
tools/regression/usr.bin/make/archives/fmt_44bsd/expected.stdout.4 [moved from tools/regression/usr.bin/make/shell/path/expected.stdout with 100% similarity]
tools/regression/usr.bin/make/archives/fmt_44bsd/expected.stdout.5 [moved from tools/regression/usr.bin/make/shell/path_select/expected.stdout with 100% similarity]
tools/regression/usr.bin/make/archives/fmt_44bsd/expected.stdout.6 [moved from tools/regression/usr.bin/make/shell/replace/expected.stdout with 100% similarity]
tools/regression/usr.bin/make/archives/fmt_44bsd/expected.stdout.7 [moved from tools/regression/usr.bin/make/shell/select/expected.stderr with 100% similarity]
tools/regression/usr.bin/make/archives/fmt_44bsd/libtest.a [moved from tools/regression/usr.bin/make/archives/t0/libtest.a with 100% similarity]
tools/regression/usr.bin/make/archives/fmt_44bsd/test.t [new file with mode: 0644]
tools/regression/usr.bin/make/archives/fmt_44bsd_mod/Makefile [moved from tools/regression/usr.bin/make/archives/t1/Makefile with 67% similarity]
tools/regression/usr.bin/make/archives/fmt_44bsd_mod/expected.status.1 [moved from tools/regression/usr.bin/make/basic/t2/expected.status with 100% similarity]
tools/regression/usr.bin/make/archives/fmt_44bsd_mod/expected.status.2 [moved from tools/regression/usr.bin/make/shell/select/expected.status with 100% similarity]
tools/regression/usr.bin/make/archives/fmt_44bsd_mod/expected.status.3 [moved from tools/regression/usr.bin/make/suffixes/t0/expected.status with 100% similarity]
tools/regression/usr.bin/make/archives/fmt_44bsd_mod/expected.status.4 [moved from tools/regression/usr.bin/make/suffixes/t1/expected.status with 100% similarity]
tools/regression/usr.bin/make/archives/fmt_44bsd_mod/expected.status.5 [moved from tools/regression/usr.bin/make/shell/meta/expected.status with 100% similarity]
tools/regression/usr.bin/make/archives/fmt_44bsd_mod/expected.status.6 [moved from tools/regression/usr.bin/make/shell/path/expected.status with 100% similarity]
tools/regression/usr.bin/make/archives/fmt_44bsd_mod/expected.status.7 [moved from tools/regression/usr.bin/make/shell/path_select/expected.status with 100% similarity]
tools/regression/usr.bin/make/archives/fmt_44bsd_mod/expected.stderr.1 [moved from tools/regression/usr.bin/make/suffixes/t0/expected.stderr with 100% similarity]
tools/regression/usr.bin/make/archives/fmt_44bsd_mod/expected.stderr.2 [moved from tools/regression/usr.bin/make/suffixes/t1/expected.stderr with 100% similarity]
tools/regression/usr.bin/make/archives/fmt_44bsd_mod/expected.stderr.3 [moved from tools/regression/usr.bin/make/suffixes/t2/expected.stderr with 100% similarity]
tools/regression/usr.bin/make/archives/fmt_44bsd_mod/expected.stderr.4 [moved from tools/regression/usr.bin/make/variables/t0/expected.stderr with 100% similarity]
tools/regression/usr.bin/make/archives/fmt_44bsd_mod/expected.stderr.5 [new file with mode: 0644]
tools/regression/usr.bin/make/archives/fmt_44bsd_mod/expected.stderr.6 [new file with mode: 0644]
tools/regression/usr.bin/make/archives/fmt_44bsd_mod/expected.stderr.7 [new file with mode: 0644]
tools/regression/usr.bin/make/archives/fmt_44bsd_mod/expected.stdout.1 [moved from tools/regression/usr.bin/make/variables/t1/expected.stderr with 100% similarity]
tools/regression/usr.bin/make/archives/fmt_44bsd_mod/expected.stdout.2 [new file with mode: 0644]
tools/regression/usr.bin/make/archives/fmt_44bsd_mod/expected.stdout.3 [new file with mode: 0644]
tools/regression/usr.bin/make/archives/fmt_44bsd_mod/expected.stdout.4 [new file with mode: 0644]
tools/regression/usr.bin/make/archives/fmt_44bsd_mod/expected.stdout.5 [new file with mode: 0644]
tools/regression/usr.bin/make/archives/fmt_44bsd_mod/expected.stdout.6 [new file with mode: 0644]
tools/regression/usr.bin/make/archives/fmt_44bsd_mod/expected.stdout.7 [new file with mode: 0644]
tools/regression/usr.bin/make/archives/fmt_44bsd_mod/libtest.a [moved from tools/regression/usr.bin/make/archives/t1/libtest.a with 100% similarity]
tools/regression/usr.bin/make/archives/fmt_44bsd_mod/test.t [new file with mode: 0644]
tools/regression/usr.bin/make/archives/fmt_oldbsd/Makefile [moved from tools/regression/usr.bin/make/archives/t2/Makefile with 66% similarity]
tools/regression/usr.bin/make/archives/fmt_oldbsd/expected.status.1 [moved from tools/regression/usr.bin/make/suffixes/t2/expected.status with 100% similarity]
tools/regression/usr.bin/make/archives/fmt_oldbsd/expected.status.2 [moved from tools/regression/usr.bin/make/variables/t0/expected.status with 100% similarity]
tools/regression/usr.bin/make/archives/fmt_oldbsd/expected.status.3 [moved from tools/regression/usr.bin/make/variables/t1/expected.status with 100% similarity]
tools/regression/usr.bin/make/archives/fmt_oldbsd/expected.status.4 [new file with mode: 0644]
tools/regression/usr.bin/make/archives/fmt_oldbsd/expected.status.5 [new file with mode: 0644]
tools/regression/usr.bin/make/archives/fmt_oldbsd/expected.status.6 [moved from tools/regression/usr.bin/make/shell/replace/expected.status with 100% similarity]
tools/regression/usr.bin/make/archives/fmt_oldbsd/expected.status.7 [new file with mode: 0644]
tools/regression/usr.bin/make/archives/fmt_oldbsd/expected.stderr.1 [new file with mode: 0644]
tools/regression/usr.bin/make/archives/fmt_oldbsd/expected.stderr.2 [new file with mode: 0644]
tools/regression/usr.bin/make/archives/fmt_oldbsd/expected.stderr.3 [new file with mode: 0644]
tools/regression/usr.bin/make/archives/fmt_oldbsd/expected.stderr.4 [new file with mode: 0644]
tools/regression/usr.bin/make/archives/fmt_oldbsd/expected.stderr.5 [new file with mode: 0644]
tools/regression/usr.bin/make/archives/fmt_oldbsd/expected.stderr.6 [new file with mode: 0644]
tools/regression/usr.bin/make/archives/fmt_oldbsd/expected.stderr.7 [new file with mode: 0644]
tools/regression/usr.bin/make/archives/fmt_oldbsd/expected.stdout.1 [new file with mode: 0644]
tools/regression/usr.bin/make/archives/fmt_oldbsd/expected.stdout.2 [new file with mode: 0644]
tools/regression/usr.bin/make/archives/fmt_oldbsd/expected.stdout.3 [new file with mode: 0644]
tools/regression/usr.bin/make/archives/fmt_oldbsd/expected.stdout.4 [new file with mode: 0644]
tools/regression/usr.bin/make/archives/fmt_oldbsd/expected.stdout.5 [new file with mode: 0644]
tools/regression/usr.bin/make/archives/fmt_oldbsd/expected.stdout.6 [new file with mode: 0644]
tools/regression/usr.bin/make/archives/fmt_oldbsd/expected.stdout.7 [new file with mode: 0644]
tools/regression/usr.bin/make/archives/fmt_oldbsd/libtest.a [moved from tools/regression/usr.bin/make/archives/t2/libtest.a with 100% similarity]
tools/regression/usr.bin/make/archives/fmt_oldbsd/test.t [new file with mode: 0644]
tools/regression/usr.bin/make/archives/t0/expected.stderr [deleted file]
tools/regression/usr.bin/make/archives/t0/expected.stdout [deleted file]
tools/regression/usr.bin/make/archives/t0/test.t [deleted file]
tools/regression/usr.bin/make/archives/t1/expected.stderr [deleted file]
tools/regression/usr.bin/make/archives/t1/expected.stdout [deleted file]
tools/regression/usr.bin/make/archives/t1/test.t [deleted file]
tools/regression/usr.bin/make/archives/t2/expected.stdout [deleted file]
tools/regression/usr.bin/make/archives/t2/test.t [deleted file]
tools/regression/usr.bin/make/basic/t0/expected.status.1 [new file with mode: 0644]
tools/regression/usr.bin/make/basic/t0/expected.stderr.1 [moved from tools/regression/usr.bin/make/basic/t0/expected.stderr with 100% similarity]
tools/regression/usr.bin/make/basic/t0/expected.stdout.1 [new file with mode: 0644]
tools/regression/usr.bin/make/basic/t0/test.t
tools/regression/usr.bin/make/basic/t1/Makefile [new file with mode: 0644]
tools/regression/usr.bin/make/basic/t1/expected.status.1 [new file with mode: 0644]
tools/regression/usr.bin/make/basic/t1/expected.stderr.1 [new file with mode: 0644]
tools/regression/usr.bin/make/basic/t1/expected.stdout.1 [new file with mode: 0644]
tools/regression/usr.bin/make/basic/t1/test.t
tools/regression/usr.bin/make/basic/t2/Makefile [new file with mode: 0644]
tools/regression/usr.bin/make/basic/t2/expected.status.1 [new file with mode: 0644]
tools/regression/usr.bin/make/basic/t2/expected.stderr.1 [new file with mode: 0644]
tools/regression/usr.bin/make/basic/t2/expected.stdout.1 [moved from tools/regression/usr.bin/make/basic/t2/expected.stdout with 100% similarity]
tools/regression/usr.bin/make/basic/t2/test.t
tools/regression/usr.bin/make/basic/t3/expected.status.1 [new file with mode: 0644]
tools/regression/usr.bin/make/basic/t3/expected.stderr.1 [moved from tools/regression/usr.bin/make/basic/t3/expected.stderr with 100% similarity]
tools/regression/usr.bin/make/basic/t3/expected.stdout.1 [new file with mode: 0644]
tools/regression/usr.bin/make/basic/t3/test.t
tools/regression/usr.bin/make/common.sh
tools/regression/usr.bin/make/shell/builtin/Makefile
tools/regression/usr.bin/make/shell/builtin/expected.status.1 [new file with mode: 0644]
tools/regression/usr.bin/make/shell/builtin/expected.status.2 [new file with mode: 0644]
tools/regression/usr.bin/make/shell/builtin/expected.stderr [deleted file]
tools/regression/usr.bin/make/shell/builtin/expected.stderr.1 [new file with mode: 0644]
tools/regression/usr.bin/make/shell/builtin/expected.stderr.2 [new file with mode: 0644]
tools/regression/usr.bin/make/shell/builtin/expected.stdout.1 [new file with mode: 0644]
tools/regression/usr.bin/make/shell/builtin/expected.stdout.2 [new file with mode: 0644]
tools/regression/usr.bin/make/shell/builtin/sh [moved from tools/regression/usr.bin/make/shell/builtin/sh.sh with 100% similarity]
tools/regression/usr.bin/make/shell/builtin/test.t
tools/regression/usr.bin/make/shell/meta/Makefile
tools/regression/usr.bin/make/shell/meta/expected.status.1 [new file with mode: 0644]
tools/regression/usr.bin/make/shell/meta/expected.status.2 [new file with mode: 0644]
tools/regression/usr.bin/make/shell/meta/expected.stderr [deleted file]
tools/regression/usr.bin/make/shell/meta/expected.stderr.1 [new file with mode: 0644]
tools/regression/usr.bin/make/shell/meta/expected.stderr.2 [new file with mode: 0644]
tools/regression/usr.bin/make/shell/meta/expected.stdout.1 [new file with mode: 0644]
tools/regression/usr.bin/make/shell/meta/expected.stdout.2 [new file with mode: 0644]
tools/regression/usr.bin/make/shell/meta/sh [moved from tools/regression/usr.bin/make/shell/meta/sh.sh with 100% similarity]
tools/regression/usr.bin/make/shell/meta/test.t
tools/regression/usr.bin/make/shell/path/Makefile
tools/regression/usr.bin/make/shell/path/expected.status.1 [new file with mode: 0644]
tools/regression/usr.bin/make/shell/path/expected.status.2 [new file with mode: 0644]
tools/regression/usr.bin/make/shell/path/expected.stderr [deleted file]
tools/regression/usr.bin/make/shell/path/expected.stderr.1 [new file with mode: 0644]
tools/regression/usr.bin/make/shell/path/expected.stderr.2 [new file with mode: 0644]
tools/regression/usr.bin/make/shell/path/expected.stdout.1 [new file with mode: 0644]
tools/regression/usr.bin/make/shell/path/expected.stdout.2 [new file with mode: 0644]
tools/regression/usr.bin/make/shell/path/sh [moved from tools/regression/usr.bin/make/shell/path/sh.sh with 100% similarity]
tools/regression/usr.bin/make/shell/path/test.t
tools/regression/usr.bin/make/shell/path_select/Makefile
tools/regression/usr.bin/make/shell/path_select/expected.status.1 [new file with mode: 0644]
tools/regression/usr.bin/make/shell/path_select/expected.status.2 [new file with mode: 0644]
tools/regression/usr.bin/make/shell/path_select/expected.stderr [deleted file]
tools/regression/usr.bin/make/shell/path_select/expected.stderr.1 [new file with mode: 0644]
tools/regression/usr.bin/make/shell/path_select/expected.stderr.2 [new file with mode: 0644]
tools/regression/usr.bin/make/shell/path_select/expected.stdout.1 [new file with mode: 0644]
tools/regression/usr.bin/make/shell/path_select/expected.stdout.2 [new file with mode: 0644]
tools/regression/usr.bin/make/shell/path_select/shell [moved from tools/regression/usr.bin/make/shell/path_select/sh.sh with 100% similarity]
tools/regression/usr.bin/make/shell/path_select/test.t
tools/regression/usr.bin/make/shell/replace/Makefile
tools/regression/usr.bin/make/shell/replace/expected.status.1 [new file with mode: 0644]
tools/regression/usr.bin/make/shell/replace/expected.status.2 [new file with mode: 0644]
tools/regression/usr.bin/make/shell/replace/expected.stderr [deleted file]
tools/regression/usr.bin/make/shell/replace/expected.stderr.1 [new file with mode: 0644]
tools/regression/usr.bin/make/shell/replace/expected.stderr.2 [new file with mode: 0644]
tools/regression/usr.bin/make/shell/replace/expected.stdout.1 [new file with mode: 0644]
tools/regression/usr.bin/make/shell/replace/expected.stdout.2 [new file with mode: 0644]
tools/regression/usr.bin/make/shell/replace/shell [moved from tools/regression/usr.bin/make/shell/replace/sh.sh with 100% similarity]
tools/regression/usr.bin/make/shell/replace/test.t
tools/regression/usr.bin/make/shell/select/Makefile
tools/regression/usr.bin/make/shell/select/expected.status.1 [new file with mode: 0644]
tools/regression/usr.bin/make/shell/select/expected.status.2 [new file with mode: 0644]
tools/regression/usr.bin/make/shell/select/expected.stderr.1 [new file with mode: 0644]
tools/regression/usr.bin/make/shell/select/expected.stderr.2 [new file with mode: 0644]
tools/regression/usr.bin/make/shell/select/expected.stdout.1 [new file with mode: 0644]
tools/regression/usr.bin/make/shell/select/expected.stdout.2 [moved from tools/regression/usr.bin/make/shell/select/expected.stdout with 52% similarity]
tools/regression/usr.bin/make/shell/select/test.t
tools/regression/usr.bin/make/suffixes/basic/Makefile [moved from tools/regression/usr.bin/make/suffixes/t0/Makefile with 57% similarity]
tools/regression/usr.bin/make/suffixes/basic/TEST1.a [moved from tools/regression/usr.bin/make/suffixes/t0/TEST1.a with 100% similarity]
tools/regression/usr.bin/make/suffixes/basic/expected.status.1 [new file with mode: 0644]
tools/regression/usr.bin/make/suffixes/basic/expected.stderr.1 [new file with mode: 0644]
tools/regression/usr.bin/make/suffixes/basic/expected.stdout.1 [moved from tools/regression/usr.bin/make/suffixes/t0/expected.stdout with 100% similarity]
tools/regression/usr.bin/make/suffixes/basic/test.t [new file with mode: 0644]
tools/regression/usr.bin/make/suffixes/src_wild1/Makefile [moved from tools/regression/usr.bin/make/suffixes/t1/Makefile with 86% similarity]
tools/regression/usr.bin/make/suffixes/src_wild1/TEST1.a [moved from tools/regression/usr.bin/make/suffixes/t1/TEST1.a with 100% similarity]
tools/regression/usr.bin/make/suffixes/src_wild1/TEST2.a [moved from tools/regression/usr.bin/make/suffixes/t1/TEST2.a with 100% similarity]
tools/regression/usr.bin/make/suffixes/src_wild1/expected.status.1 [new file with mode: 0644]
tools/regression/usr.bin/make/suffixes/src_wild1/expected.stderr.1 [new file with mode: 0644]
tools/regression/usr.bin/make/suffixes/src_wild1/expected.stdout.1 [moved from tools/regression/usr.bin/make/suffixes/t1/expected.stdout with 100% similarity]
tools/regression/usr.bin/make/suffixes/src_wild1/test.t [new file with mode: 0644]
tools/regression/usr.bin/make/suffixes/src_wild2/Makefile [moved from tools/regression/usr.bin/make/suffixes/t2/Makefile with 62% similarity]
tools/regression/usr.bin/make/suffixes/src_wild2/TEST1.a [moved from tools/regression/usr.bin/make/suffixes/t2/TEST1.a with 100% similarity]
tools/regression/usr.bin/make/suffixes/src_wild2/TEST2.a [moved from tools/regression/usr.bin/make/suffixes/t2/TEST2.a with 100% similarity]
tools/regression/usr.bin/make/suffixes/src_wild2/expected.status.1 [new file with mode: 0644]
tools/regression/usr.bin/make/suffixes/src_wild2/expected.stderr.1 [new file with mode: 0644]
tools/regression/usr.bin/make/suffixes/src_wild2/expected.stdout.1 [moved from tools/regression/usr.bin/make/suffixes/t2/expected.stdout with 100% similarity]
tools/regression/usr.bin/make/suffixes/src_wild2/test.t [new file with mode: 0644]
tools/regression/usr.bin/make/suffixes/t0/test.t [deleted file]
tools/regression/usr.bin/make/suffixes/t1/test.t [deleted file]
tools/regression/usr.bin/make/suffixes/t2/test.t [deleted file]
tools/regression/usr.bin/make/variables/modifier_M/Makefile [moved from tools/regression/usr.bin/make/variables/t1/test.t with 66% similarity]
tools/regression/usr.bin/make/variables/modifier_M/expected.status.1 [new file with mode: 0644]
tools/regression/usr.bin/make/variables/modifier_M/expected.stderr.1 [new file with mode: 0644]
tools/regression/usr.bin/make/variables/modifier_M/expected.stdout.1 [moved from tools/regression/usr.bin/make/variables/t1/expected.stdout with 100% similarity]
tools/regression/usr.bin/make/variables/modifier_M/test.t [new file with mode: 0644]
tools/regression/usr.bin/make/variables/t0/Makefile [new file with mode: 0644]
tools/regression/usr.bin/make/variables/t0/expected.status.1 [new file with mode: 0644]
tools/regression/usr.bin/make/variables/t0/expected.stderr.1 [new file with mode: 0644]
tools/regression/usr.bin/make/variables/t0/expected.stdout [deleted file]
tools/regression/usr.bin/make/variables/t0/expected.stdout.1 [new file with mode: 0644]
tools/regression/usr.bin/make/variables/t0/test.t