Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Nov 2015 07:38:12 -0200
From:      Renato Botelho <garga@FreeBSD.org>
To:        Hans Petter Selasky <hps@selasky.org>
Cc:        "Bjoern A. Zeeb" <bz@FreeBSD.org>, Randall Stewart <rrs@FreeBSD.org>, svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r290663 - in head/sys: modules modules/tests modules/tests/callout_test modules/tests/framework tests tests/callout_test tests/framework
Message-ID:  <FC428BFE-5884-4C45-AFF4-7DC6024871EF@FreeBSD.org>
In-Reply-To: <5642FD1F.2040201@selasky.org>
References:  <201511101414.tAAEEfPI057133@repo.freebsd.org> <E9550A7F-BF6A-46FB-BAA5-0D8DC6DD69AC@FreeBSD.org> <5642FD1F.2040201@selasky.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> On Nov 11, 2015, at 06:32, Hans Petter Selasky <hps@selasky.org> =
wrote:
>=20
> On 11/10/15 17:15, Bjoern A. Zeeb wrote:
>>=20
>>> On 10 Nov 2015, at 14:14 , Randall Stewart <rrs@FreeBSD.org> wrote:
>>>=20
>>> Author: rrs
>>> Date: Tue Nov 10 14:14:41 2015
>>> New Revision: 290663
>>> URL: https://svnweb.freebsd.org/changeset/base/290663
>>>=20
>>> 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.
>>>=20
>>>  MFC after:	1 month
>>>  Sponsored by:	Netflix Inc.
>>>  Differential Revision:	https://reviews.freebsd.org/D1755
>>>=20
>>=20
>>=20
>> =
/scratch/tmp/bz/head.svn/sys/modules/tests/callout_test/../../../tests/cal=
lout_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/cal=
lout_test/callout_test.c:133: warning: no previous prototype for =
=E2=80=98execute_the_co_test' [-Wmissing-prototypes]
>>=20
>>=20
>> =
/scratch/tmp/bz/head.svn/sys/modules/tests/framework/../../../tests/framew=
ork/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 =E2=80=98sysctl___kern' was here
>>=20
>> This is on sparc64 but I guess that=E2=80=99s just one of my early =
kernel compiles.
>>=20
>>=20
>>> 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
>>=20
>=20
> Breaks here too on amd64:
>=20
>> =
/usr/img/freebsd/sys/modules/tests/callout_test/../../../tests/callout_tes=
t/callout_test.c:52:9: error:
>>      'cpu_spinwait' macro redefined [-Werror]
>> #define cpu_spinwait()
>>        ^
>> ./machine/cpu.h:50:9: note: previous definition is here
>> #define cpu_spinwait()                  ia32_pause()
>>        ^
>> 1 error generated.
>=20
>> =
/usr/img/freebsd/sys/modules/tests/framework/../../../sys/bus.h:655:10: =
fatal error:
>>      'device_if.h' file not found
>> #include "device_if.h"
>>         ^
>> 1 error generated.
>> *** Error code 1

+1

--
Renato Botelho




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FC428BFE-5884-4C45-AFF4-7DC6024871EF>