From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 029CDC433DF for ; Tue, 26 May 2020 17:13:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D691920823 for ; Tue, 26 May 2020 17:13:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1590513211; bh=5wgDx0HRqFo+8rbopttzAsy9cScrP/BLJX94ZpGLj10=; h=Subject:To:Cc:References:From:Date:In-Reply-To:List-ID:From; b=WW/9WAlIBEPCi0dpGa51j4ipf65ER9cXN7cp7Ob5qYyx07uDPFS1dQA2rnx0G02ya eGraURGM8w8RRzW/PZ+Hc83sMxhJdADdUNb4NTxl3sbdv6FAcUE8tj9x9X1FlJ4ePZ FXt5bt2EBmNrSezTZP+6fdjXmjjf9LoTTADJATBc= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728503AbgEZRNb (ORCPT ); Tue, 26 May 2020 13:13:31 -0400 Received: from mail.kernel.org ([198.145.29.99]:43420 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728138AbgEZRNb (ORCPT ); Tue, 26 May 2020 13:13:31 -0400 Received: from [192.168.1.112] (c-24-9-64-241.hsd1.co.comcast.net [24.9.64.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 855E62073B; Tue, 26 May 2020 17:13:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1590513210; bh=5wgDx0HRqFo+8rbopttzAsy9cScrP/BLJX94ZpGLj10=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=g3BFgzBWoWtEVfHoN7P8krCHqY9+9HcXAaJHdA+wbYi2eJq2XY/ZtAQl0iZiUxWiJ knczh8g6vVQsJHXdXhuoj718ARHiRl2Fdes40dDrYHWBDpm8M1PAGv2aBX2kB9kDko I8lrsrVvX/elFkWW4wZJh/rKn+NYQaLYGb0bjy/8= Subject: Re: kselftest OOT run_tests To: Yauheni Kaliuta , Masahiro Yamada Cc: linux-kselftest@vger.kernel.org, bpf@vger.kernel.org, shuah References: From: shuah Message-ID: Date: Tue, 26 May 2020 11:13:29 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: bpf-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: bpf@vger.kernel.org On 5/25/20 7:55 AM, Yauheni Kaliuta wrote: > Hi! > > I'm wondering how out of tree check is supposed to work for make > O=dir run_tests from selftests (or make -C ...) directory? > > (both with 051f278e9d81 ("kbuild: replace KBUILD_SRCTREE with > boolean building_out_of_srctree") and without) > > make M= ... does not work with run_tests. > Kselftests run_tests target isn't intended for building and running tests OOT. Also make M= doesn't make sense for them. There is no support to build OOT at the moment. I would like to get a better understanding of your use-case. Can you elaborate? thanks, -- Shuah