From owner-freebsd-testing@FreeBSD.ORG Thu Mar 27 22:25:55 2014 Return-Path: Delivered-To: freebsd-testing@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0624AFB1 for ; Thu, 27 Mar 2014 22:25:55 +0000 (UTC) Received: from mailuogwdur.emc.com (mailuogwdur.emc.com [128.221.224.79]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mailuogwprd51.lss.emc.com", Issuer "RSA Corporate Server CA v2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A4A9DE67 for ; Thu, 27 Mar 2014 22:25:54 +0000 (UTC) Received: from maildlpprd51.lss.emc.com (maildlpprd51.lss.emc.com [10.106.48.155]) by mailuogwprd51.lss.emc.com (Sentrion-MTA-4.3.0/Sentrion-MTA-4.3.0) with ESMTP id s2RMPqmm027917 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 27 Mar 2014 18:25:52 -0400 X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd51.lss.emc.com s2RMPqmm027917 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=isilon.com; s=jan2013; t=1395959152; bh=KRCpnH6ecQlfHZUmtC9WlQwmJG0=; h=From:To:Subject:Date:Message-ID:Content-Type:MIME-Version; b=GQ6GlMOYOKQ6jJBaD+iAiQv+/pejODOeDHwsmKDePtuO/3b2w7Fbhx9lCKu9XGIKA xTNHxlBUAmanJmryc07k+/5xTMunfaBj73vF8kLiSd6qAf8LTD2TOGb7p5D7+tI5jo vtFAi4mbj1o/mDq9VBXw5+aIbYqSqxxmce/f0QLQ= X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd51.lss.emc.com s2RMPqmm027917 Received: from mailusrhubprd04.lss.emc.com (mailusrhubprd04.lss.emc.com [10.253.24.22]) by maildlpprd51.lss.emc.com (RSA Interceptor) for ; Thu, 27 Mar 2014 18:25:38 -0400 Received: from mxhub09.corp.emc.com (mxhub09.corp.emc.com [10.254.92.104]) by mailusrhubprd04.lss.emc.com (Sentrion-MTA-4.3.0/Sentrion-MTA-4.3.0) with ESMTP id s2RMPc6Q030469 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Thu, 27 Mar 2014 18:25:38 -0400 Received: from MXHUB106.corp.emc.com (10.253.58.23) by mxhub09.corp.emc.com (10.254.92.104) with Microsoft SMTP Server (TLS) id 8.3.327.1; Thu, 27 Mar 2014 18:25:37 -0400 Received: from MX103CL02.corp.emc.com ([169.254.6.182]) by MXHUB106.corp.emc.com ([10.253.58.23]) with mapi id 14.03.0158.001; Thu, 27 Mar 2014 18:25:37 -0400 From: "Peel, Casey" To: "freebsd-testing@freebsd.org" Subject: Makefiles for skip-level directories? Thread-Topic: Makefiles for skip-level directories? Thread-Index: Ac9KC3q0P6/AqbVZQcSVRmNVpzR91g== Date: Thu, 27 Mar 2014 22:25:36 +0000 Message-ID: <16437CC5729B5345AF77F816513376E8129868F1@MX103CL02.corp.emc.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.7.188.119] MIME-Version: 1.0 X-Sentrion-Hostname: mailusrhubprd04.lss.emc.com X-RSA-Classifications: public Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.17 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: Thu, 27 Mar 2014 22:25:55 -0000 We've created some ATF network tests in sys/net/, which involved creating t= he sys/net/tests directory and sys/net/tests/Makefile. There are currently = no tests under sys/ at all. In order for that Makefile to get picked up by = the build, I added sys/net/Makefile that looks like this: # $FreeBSD$ .include .if ${MK_TESTS} !=3D "no" SUBDIR+=3D tests .endif .include For that to get picked up, I added this to sys/Makefile before .include : .if ${MK_TESTS} !=3D "no" SUBDIR+=3D net .endif My tests build and get installed correctly in /usr/tests: [root@system /usr/tests]# find sys sys sys/net sys/net/t_lagg_smoke sys/net/Kyuafile You'll note that there is no Kyuafile in sys/ which prevents kyua from trav= ersing into sys/net/ to pick up the Kyuafile there and actually execute the= test from /usr/tests All that to say: what magic am I missing in the sys/Makefile to have the sy= s/Kyuafile generated? I've looked and can't find another example in the cur= rent tests that have this type of skip-level test layout. Thanks, -- Casey -- Performance Test Ninja casey.peel@isilon.com / 206.777.7945