From owner-freebsd-testing@FreeBSD.ORG Mon Mar 31 23:27:41 2014 Return-Path: Delivered-To: freebsd-testing@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 405D5305 for ; Mon, 31 Mar 2014 23:27:41 +0000 (UTC) Received: from mailuogwhop.emc.com (mailuogwhop.emc.com [168.159.213.141]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mailuogwprd01.lss.emc.com", Issuer "RSA Corporate Server CA v2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DED352A1 for ; Mon, 31 Mar 2014 23:27:40 +0000 (UTC) Received: from maildlpprd01.lss.emc.com (maildlpprd01.lss.emc.com [10.253.24.33]) by mailuogwprd01.lss.emc.com (Sentrion-MTA-4.3.0/Sentrion-MTA-4.3.0) with ESMTP id s2VN7jXl006650 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 31 Mar 2014 19:07:45 -0400 X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd01.lss.emc.com s2VN7jXl006650 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=isilon.com; s=jan2013; t=1396307265; bh=LiYNOz74YFFLoD+f9PWlQBMKKpk=; h=From:To:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:Content-Transfer-Encoding:MIME-Version; b=Wb1cSIeBG2qpMQf0niBVHv8t8LFhKf36GiO6rTI0k7c1M8OC8CSqq3ELrXtuYk8KD PXWWYzf++9j/dkVk+9DA9fc8NK17CHJ5CGcxtAigekycb5kGFCDHGE5s+0k73C3tVu QqRbsUq6F8/ONgr+wFXp4jSiFddSPTNdndTElMr0= X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd01.lss.emc.com s2VN7jXl006650 Received: from mailusrhubprd02.lss.emc.com (mailusrhubprd02.lss.emc.com [10.253.24.20]) by maildlpprd01.lss.emc.com (RSA Interceptor) for ; Mon, 31 Mar 2014 19:07:35 -0400 Received: from mxhub05.corp.emc.com (mxhub05.corp.emc.com [128.222.70.202]) by mailusrhubprd02.lss.emc.com (Sentrion-MTA-4.3.0/Sentrion-MTA-4.3.0) with ESMTP id s2VN7ZC9010803 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Mon, 31 Mar 2014 19:07:35 -0400 Received: from MXHUB107.corp.emc.com (10.253.50.23) by mxhub05.corp.emc.com (128.222.70.202) with Microsoft SMTP Server (TLS) id 8.3.327.1; Mon, 31 Mar 2014 19:07:35 -0400 Received: from MX103CL02.corp.emc.com ([169.254.6.182]) by MXHUB107.corp.emc.com ([10.253.50.23]) with mapi id 14.03.0158.001; Mon, 31 Mar 2014 19:07:35 -0400 From: "Peel, Casey" To: "freebsd-testing@freebsd.org" Subject: RE: Makefiles for skip-level directories? Thread-Topic: Makefiles for skip-level directories? Thread-Index: Ac9KC3q0P6/AqbVZQcSVRmNVpzR91gAPe4yAALq6voA= Date: Mon, 31 Mar 2014 23:07:34 +0000 Message-ID: <16437CC5729B5345AF77F816513376E820BAA20A@MX103CL02.corp.emc.com> References: <16437CC5729B5345AF77F816513376E8129868F1@MX103CL02.corp.emc.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.7.188.119] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Sentrion-Hostname: mailusrhubprd02.lss.emc.com X-RSA-Classifications: DLM_1, public X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Mar 2014 23:27:41 -0000 > In a thread in January, we agreed not to put any tests in sys/. > Instead, we'll put them in tests/sys. Take a look at > tests/sys/netinet; you can probably copy its structure for your tests. Ah, that helped, thanks. I was able to get them working in test/sys/. > The magic to install intermediate Kyuafiles lives in the 'tests' > subdirectory corresponding to where they are installed! See > src/bin/tests/Makefile, for example. Thanks, but that's about as clear as mud. Is the "magic" the KYUAFILE=3Dyes= line? When is this required and when isn't it? Where is the documentation = on its usage? Is there a document that gives examples on how to correctly set up Makefile= s for various directory layouts? I just spent several hours to get tests pl= aced into src/sbin/geom/class/part/tests pulled into the build and have fai= led miserably. There is a decent amount of documentation on how to write AT= F tests themselves, but I've found no resource on how to correctly add/upda= te Makefiles to make them work. I don't think this is rocket science but it= sure feels like it at this point. -- Casey