From owner-svn-src-head@freebsd.org Wed Nov 11 08:30:51 2015 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 70B57A1FB8B; Wed, 11 Nov 2015 08:30:51 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 31F8E1FC9; Wed, 11 Nov 2015 08:30:50 +0000 (UTC) (envelope-from hps@selasky.org) Received: from laptop015.home.selasky.org (unknown [62.141.129.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 98A881FE022; Wed, 11 Nov 2015 09:30:48 +0100 (CET) Subject: Re: svn commit: r290663 - in head/sys: modules modules/tests modules/tests/callout_test modules/tests/framework tests tests/callout_test tests/framework To: "Bjoern A. Zeeb" , Randall Stewart References: <201511101414.tAAEEfPI057133@repo.freebsd.org> Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org From: Hans Petter Selasky Message-ID: <5642FD1F.2040201@selasky.org> Date: Wed, 11 Nov 2015 09:32:31 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Nov 2015 08:30:51 -0000 On 11/10/15 17:15, Bjoern A. Zeeb wrote: > >> On 10 Nov 2015, at 14:14 , Randall Stewart 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 > Breaks here too on amd64: > /usr/img/freebsd/sys/modules/tests/callout_test/../../../tests/callout_test/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. > /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 --HPS