Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD

From: Erik Cederstrand <erik_at_cederstrand.dk>
Date: Tue, 1 Jun 2010 15:27:24 +0200
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
Received on Tue Jun 01 2010 - 11:27:27 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:04 UTC