svn commit: r290663 - in head/sys: modules modules/tests modules/tests/callout_test modules/tests/framework tests tests/callout_test tests/framework

Bjoern A. Zeeb bz at FreeBSD.org
Tue Nov 10 16:15:45 UTC 2015


> On 10 Nov 2015, at 14:14 , Randall Stewart <rrs at FreeBSD.org> wrote:
> 
> Author: rrs
> Date: Tue Nov 10 14:14:41 2015
> New Revision: 290663
> URL: https://svnweb.freebsd.org/changeset/base/290663
> 
> Log:
>  Add a kernel test framework. The callout_test is a demonstration and will only
>  work with the upcoming async-drain functionality. Tests can be added
>  to the tests directory and then the framework can be used to launch
>  those tests.
> 
>  MFC after:	1 month
>  Sponsored by:	Netflix Inc.
>  Differential Revision:	https://reviews.freebsd.org/D1755
> 


/scratch/tmp/bz/head.svn/sys/modules/tests/callout_test/../../../tests/callout_test/callout_test.c:75: warning: function declaration isn't a prototype [-Wstrict-prototypes]
/scratch/tmp/bz/head.svn/sys/modules/tests/callout_test/../../../tests/callout_test/callout_test.c:133: warning: no previous prototype for ‘execute_the_co_test' [-Wmissing-prototypes]


/scratch/tmp/bz/head.svn/sys/modules/tests/framework/../../../tests/framework/kern_testfrwk.c:171: warning: redundant redeclaration of 'sysctl___kern' [-Wredundant-decls]
/scratch/tmp/bz/head.svn/sys/sys/sysctl.h:918: warning: previous declaration of ‘sysctl___kern' was here

This is on sparc64 but I guess that’s just one of my early kernel compiles.


> Added:
>  head/sys/modules/tests/
>  head/sys/modules/tests/callout_test/
>  head/sys/modules/tests/callout_test/Makefile   (contents, props changed)
>  head/sys/modules/tests/framework/
>  head/sys/modules/tests/framework/Makefile   (contents, props changed)
>  head/sys/tests/
>  head/sys/tests/callout_test/
>  head/sys/tests/callout_test.h   (contents, props changed)
>  head/sys/tests/callout_test/callout_test.c   (contents, props changed)
>  head/sys/tests/framework/
>  head/sys/tests/framework/kern_testfrwk.c   (contents, props changed)
>  head/sys/tests/kern_testfrwk.h   (contents, props changed)
> Modified:
>  head/sys/modules/Makefile



More information about the svn-src-all mailing list