From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757961AbcIMJUb (ORCPT ); Tue, 13 Sep 2016 05:20:31 -0400 Received: from mga09.intel.com ([134.134.136.24]:51123 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757286AbcIMJU0 (ORCPT ); Tue, 13 Sep 2016 05:20:26 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,328,1470726000"; d="scan'208";a="1055244000" From: Jani Nikula To: Jonathan Corbet , Shuah Khan Cc: richardcochran@gmail.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH 0/9] Move runnable code (tests) from Documentation to selftests In-Reply-To: <20160910010100.72f1a9c4@lwn.net> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo References: <20160910010100.72f1a9c4@lwn.net> User-Agent: Notmuch/0.22.1+63~g648dcc7 (https://notmuchmail.org) Emacs/24.4.1 (x86_64-pc-linux-gnu) Date: Tue, 13 Sep 2016 12:20:01 +0300 Message-ID: <87sht4tav2.fsf@intel.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 10 Sep 2016, Jonathan Corbet wrote: > On Fri, 9 Sep 2016 16:22:41 -0600 > Shuah Khan wrote: > >> Move runnable code (tests) from Documentation to selftests and update >> Makefiles to work under selftests. >> >> Jon Corbet and I discussed this in an email thread and as per that >> discussion, this patch series moves all the tests that are under the >> Documentation directory to selftests. There is more runnable code in >> the form of examples and utils and that is going to be another patch >> series. I moved just the tests and left the documentation files as is. > > I'm fine with the idea, but it looks like a couple of tweaks are needed, > in particular to avoid leaving behind dangling references in > Documentation/Makefile that cause build errors. > > I think the individual patches probably need a wider CC list as well. > I'd use the get_maintainer script (or git) to see who has taken an > interest in the individual tests and make sure they are aware of the > move. FWIW, I'm in favor of moving *all* the code away from Documentation, not just tests. Essentially removing the CONFIG_BUILD_DOCSRC config option, and reserving Documentation/Makefile for documentation build. After this series, some of the remaining code belongs under samples, some under tools. We could make it possible to include the code samples from samples into the Sphinx built documentation. BR, Jani. -- Jani Nikula, Intel Open Source Technology Center