[TESTING]: ClangBSD branch needs testing before the import to
HEAD
Erik Cederstrand
erik at cederstrand.dk
Tue Jun 1 13:27:27 UTC 2010
Den 01/06/2010 kl. 12.19 skrev b. f.:
>
> Also, others have announced that they are running regression tests on
> systems built with clang. Would it be possible to set up some
> regularly scheduled tests to uncover possible problems, if this hasn't
> been done already?
As far as I know, regression tests in FreeBSD are pretty sporadic, and a real regression testing system is an open project (http://www.freebsd.org/projects/ideas/ideas.html#p-regression).
There's a collection of tests in src/tools/regression which can be run by installing devel/p5-Test-Harness. It does seem like the tests are in a sorry state, as an insane amount of tests are failing for me:
freebsd# uname -a
FreeBSD freebsd.local 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC 2009 root at mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
freebsd# cd /usr/src/tools/regression/
freebsd# prove fstest/tests/chflags
fstest/tests/chflags/00.t .. ok
fstest/tests/chflags/01.t .. Failed 5/5 subtests
fstest/tests/chflags/02.t .. Failed 6/6 subtests
fstest/tests/chflags/03.t .. Failed 13/13 subtests
[...]
Result: FAIL
clangbsd# uname -a
FreeBSD clangbsd.local 9.0-CURRENT FreeBSD 9.0-CURRENT #2 r208586:208611M: Thu May 27 23:35:35 CEST 2010 root at vb_fbsd8.local:/usr/obj/usr/home/erik/freebsd/clangbsd/src/sys/GENERIC amd64
clangbsd# cd /usr/src/tools/regression/
clangbsd# prove fstest/tests/chflags
fstest/tests/chflags/00.t .. ok
fstest/tests/chflags/01.t .. Failed 5/5 subtests
fstest/tests/chflags/02.t .. Failed 6/6 subtests
fstest/tests/chflags/03.t .. Failed 13/13 subtests
[...]
Result: FAIL
Thanks,
Erik
More information about the freebsd-current
mailing list