From owner-svn-src-head@freebsd.org Wed Nov 11 09:38:18 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 2F0B9A2A0AE; Wed, 11 Nov 2015 09:38:18 +0000 (UTC) (envelope-from garga.bsd@gmail.com) Received: from mail-qg0-x231.google.com (mail-qg0-x231.google.com [IPv6:2607:f8b0:400d:c04::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DB59A155F; Wed, 11 Nov 2015 09:38:17 +0000 (UTC) (envelope-from garga.bsd@gmail.com) Received: by qgad10 with SMTP id d10so19360856qga.3; Wed, 11 Nov 2015 01:38:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=GWSwIGJT7kZpRNH/yqOhrJo3L2E3iuiAwziq0flaNYI=; b=TYNrxghOUNUtfJJuICaMeusXTy/7HmWtryJucsPd+V5VNGLAbNfUQj2p1GUGr3my0E H9VLcf5X8rpJioGoji6B6kCW0UZZe9YfPxGenYD8/C/no0FAvxvEWNEcbyslxrwI4Btl Azx2lfqE6FJXWKLlssDVYN5EEgps9m00W4HmZb876hTqFZD8RidXfsgjIORNsLV9ZvJa Vi//HhGs3c+lhp2ExQv+gWZFn02QX3H4ivW91d5PO/+kxZABb19odHbO/eIetX/tS3cE ZjQ94WUfecNUUGh6vJPfonwUaaHTXsE+KGzbWIi10s7wuescaoUsEusKileTmtdAp0sO m/8g== X-Received: by 10.140.18.172 with SMTP id 41mr9209032qgf.99.1447234696874; Wed, 11 Nov 2015 01:38:16 -0800 (PST) Received: from mbp.home (179-125-138-101.desktop.com.br. [179.125.138.101]) by smtp.gmail.com with ESMTPSA id y14sm2665714qky.4.2015.11.11.01.38.14 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 11 Nov 2015 01:38:16 -0800 (PST) Sender: Renato Botelho Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.1 \(3096.5\)) Subject: Re: svn commit: r290663 - in head/sys: modules modules/tests modules/tests/callout_test modules/tests/framework tests tests/callout_test tests/framework From: Renato Botelho In-Reply-To: <5642FD1F.2040201@selasky.org> Date: Wed, 11 Nov 2015 07:38:12 -0200 Cc: "Bjoern A. Zeeb" , Randall Stewart , svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <201511101414.tAAEEfPI057133@repo.freebsd.org> <5642FD1F.2040201@selasky.org> To: Hans Petter Selasky X-Mailer: Apple Mail (2.3096.5) 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 09:38:18 -0000 > On Nov 11, 2015, at 06:32, Hans Petter Selasky = wrote: >=20 > On 11/10/15 17:15, Bjoern A. Zeeb wrote: >>=20 >>> On 10 Nov 2015, at 14:14 , Randall Stewart 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