]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Switch over to a different, more flexible test output protocol that's
authorNik Clayton <nik@FreeBSD.org>
Thu, 11 Nov 2004 19:47:55 +0000 (19:47 +0000)
committerNik Clayton <nik@FreeBSD.org>
Thu, 11 Nov 2004 19:47:55 +0000 (19:47 +0000)
commit00e13b1d679d242d6db62cab43303efe327afdbc
treecfebca4a0526247931bc6bdde73f15f72f3e92d0
parent350bc1206a6c217c385989d7585a3c4d56851496
Switch over to a different, more flexible test output protocol that's
understood by Perl's Test::Harness module and prove(1) commands.

Update README to describe the new protocol.  The work's broken down into
two main sets of changes.

First, update the existing test programs (shell scripts and C programs)
to produce output in the ok/not ok format, and to, where possible, also
produce a header describing the number of tests that are expected to be
run.

Second, provide the .t files that actually run the tests.  In some cases
these are copies of, or very similar too, scripts that already existed.
I've kept the old scripts around so that it's possible to verify that
behaviour under this new system (in terms of whether or not a test fails)
is identical to the behaviour under the old system.

Add a TODO file.
99 files changed:
tools/build/make_check/Makefile
tools/build/make_check/regress.t [new file with mode: 0644]
tools/regression/README
tools/regression/TODO [new file with mode: 0644]
tools/regression/geom/RunTest.t [new file with mode: 0644]
tools/regression/geom_concat/test-1.t [new file with mode: 0644]
tools/regression/geom_concat/test-2.t [new file with mode: 0644]
tools/regression/geom_gate/test-1.t [new file with mode: 0644]
tools/regression/geom_gate/test-2.t [new file with mode: 0644]
tools/regression/geom_gate/test-3.t [new file with mode: 0644]
tools/regression/include/tgmath/tgmath.c
tools/regression/include/tgmath/tgmath.t [new file with mode: 0644]
tools/regression/lib/libc/locale/test-btowc.c
tools/regression/lib/libc/locale/test-btowc.t [new file with mode: 0644]
tools/regression/lib/libc/locale/test-iswctype.c
tools/regression/lib/libc/locale/test-iswctype.t [new file with mode: 0644]
tools/regression/lib/libc/locale/test-mblen.c
tools/regression/lib/libc/locale/test-mblen.t [new file with mode: 0644]
tools/regression/lib/libc/locale/test-mbrlen.c
tools/regression/lib/libc/locale/test-mbrlen.t [new file with mode: 0644]
tools/regression/lib/libc/locale/test-mbrtowc.c
tools/regression/lib/libc/locale/test-mbrtowc.t [new file with mode: 0644]
tools/regression/lib/libc/locale/test-mbsnrtowcs.c
tools/regression/lib/libc/locale/test-mbsnrtowcs.t [new file with mode: 0644]
tools/regression/lib/libc/locale/test-mbsrtowcs.c
tools/regression/lib/libc/locale/test-mbsrtowcs.t [new file with mode: 0644]
tools/regression/lib/libc/locale/test-mbstowcs.c
tools/regression/lib/libc/locale/test-mbstowcs.t [new file with mode: 0644]
tools/regression/lib/libc/locale/test-mbtowc.c
tools/regression/lib/libc/locale/test-mbtowc.t [new file with mode: 0644]
tools/regression/lib/libc/locale/test-sgetrune.c
tools/regression/lib/libc/locale/test-sgetrune.t [new file with mode: 0644]
tools/regression/lib/libc/locale/test-sputrune.c
tools/regression/lib/libc/locale/test-sputrune.t [new file with mode: 0644]
tools/regression/lib/libc/locale/test-towctrans.c
tools/regression/lib/libc/locale/test-towctrans.t [new file with mode: 0644]
tools/regression/lib/libc/locale/test-wcrtomb.c
tools/regression/lib/libc/locale/test-wcrtomb.t [new file with mode: 0644]
tools/regression/lib/libc/locale/test-wcsnrtombs.c
tools/regression/lib/libc/locale/test-wcsnrtombs.t [new file with mode: 0644]
tools/regression/lib/libc/locale/test-wcsrtombs.c
tools/regression/lib/libc/locale/test-wcsrtombs.t [new file with mode: 0644]
tools/regression/lib/libc/locale/test-wcstombs.c
tools/regression/lib/libc/locale/test-wcstombs.t [new file with mode: 0644]
tools/regression/lib/libc/locale/test-wctomb.c
tools/regression/lib/libc/locale/test-wctomb.t [new file with mode: 0644]
tools/regression/lib/libc/net/test-eui64_aton.c
tools/regression/lib/libc/net/test-eui64_aton.t [new file with mode: 0644]
tools/regression/lib/libc/net/test-eui64_line.c
tools/regression/lib/libc/net/test-eui64_line.t [new file with mode: 0644]
tools/regression/lib/libc/net/test-eui64_ntoa.c
tools/regression/lib/libc/net/test-eui64_ntoa.t [new file with mode: 0644]
tools/regression/lib/libc/stdio/test-perror.c
tools/regression/lib/libc/stdio/test-perror.t [new file with mode: 0644]
tools/regression/lib/libc/stdio/test-printfloat.c
tools/regression/lib/libc/stdio/test-printfloat.t [new file with mode: 0644]
tools/regression/lib/libc/stdio/test-scanfloat.c
tools/regression/lib/libc/stdio/test-scanfloat.t [new file with mode: 0644]
tools/regression/lib/libc/stdlib/test-heapsort.c
tools/regression/lib/libc/stdlib/test-heapsort.t [new file with mode: 0644]
tools/regression/lib/libc/stdlib/test-mergesort.c
tools/regression/lib/libc/stdlib/test-mergesort.t [new file with mode: 0644]
tools/regression/lib/libc/stdlib/test-qsort.c
tools/regression/lib/libc/stdlib/test-qsort.t [new file with mode: 0644]
tools/regression/lib/libc/string/test-strerror.c
tools/regression/lib/libc/string/test-strerror.t [new file with mode: 0644]
tools/regression/lib/msun/test-fenv.c
tools/regression/lib/msun/test-fenv.t [new file with mode: 0644]
tools/regression/lib/msun/test-ilogb.c
tools/regression/lib/msun/test-ilogb.t [new file with mode: 0644]
tools/regression/netinet/ipsockopt/ipsockopt.c
tools/regression/netinet/ipsockopt/ipsockopt.t [new file with mode: 0644]
tools/regression/pipe/bigpipetest.c
tools/regression/pipe/bigpipetest.t [new file with mode: 0644]
tools/regression/sockets/accept_fd_leak/accept_fd_leak.c
tools/regression/sockets/accept_fd_leak/accept_fd_leak.t [new file with mode: 0644]
tools/regression/sockets/accf_data_attach/accf_data_attach.c
tools/regression/sockets/accf_data_attach/accf_data_attach.t [new file with mode: 0644]
tools/regression/sockets/kqueue/kqueue.c
tools/regression/sockets/kqueue/kqueue.t [new file with mode: 0644]
tools/regression/usr.bin/file2c/regress.sh
tools/regression/usr.bin/file2c/regress.t [new file with mode: 0644]
tools/regression/usr.bin/join/regress.sh
tools/regression/usr.bin/join/regress.t [new file with mode: 0644]
tools/regression/usr.bin/jot/regress.sh
tools/regression/usr.bin/jot/regress.t [new file with mode: 0644]
tools/regression/usr.bin/m4/regress.sh
tools/regression/usr.bin/m4/regress.t [new file with mode: 0644]
tools/regression/usr.bin/make/Makefile
tools/regression/usr.bin/make/regress.t [new file with mode: 0644]
tools/regression/usr.bin/regress.m4
tools/regression/usr.bin/sed/regress.sh
tools/regression/usr.bin/sed/regress.t [new file with mode: 0644]
tools/regression/usr.bin/uudecode/regress.sh
tools/regression/usr.bin/uudecode/regress.t [new file with mode: 0644]
tools/regression/usr.bin/uuencode/regress.sh
tools/regression/usr.bin/uuencode/regress.t [new file with mode: 0644]
tools/regression/usr.bin/xargs/regress.sh
tools/regression/usr.bin/xargs/regress.t [new file with mode: 0644]