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=-0.9 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS 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 613C2C433DF for ; Wed, 27 May 2020 07:30:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 35C73207D3 for ; Wed, 27 May 2020 07:30:33 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="FkWU3A7Q" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729287AbgE0Had (ORCPT ); Wed, 27 May 2020 03:30:33 -0400 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:26443 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728303AbgE0Hac (ORCPT ); Wed, 27 May 2020 03:30:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1590564631; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=KJg12HshbeS3S4n+Gz11l8DLsUwLiTTOXHbHExc5Tx8=; b=FkWU3A7Qr30xM09wWJ9weTn6XNfm80aXdlGIKXdAvbYi+7/v+QoQrxaOFX9oW8Jhq0Fu01 GV7IaHfbZg8uUiB1xRZPWzI+cp26aJeun20ljnF755qK2TjNwFKwfEa7Kbqb6FHlvQObGH 7k7TEW6rmPBKr8Qeblpw5GDh0POgjyY= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-484-hAc6Y4tkNwiC2nGWyMrzMA-1; Wed, 27 May 2020 03:30:25 -0400 X-MC-Unique: hAc6Y4tkNwiC2nGWyMrzMA-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id D190618017FD; Wed, 27 May 2020 07:30:23 +0000 (UTC) Received: from astarta.redhat.com (ovpn-114-49.ams2.redhat.com [10.36.114.49]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 6135B96FAB; Wed, 27 May 2020 07:30:22 +0000 (UTC) From: Yauheni Kaliuta To: shuah Cc: Masahiro Yamada , linux-kselftest@vger.kernel.org, bpf@vger.kernel.org Subject: Re: kselftest OOT run_tests References: Date: Wed, 27 May 2020 10:30:20 +0300 In-Reply-To: (shuah@kernel.org's message of "Tue, 26 May 2020 11:13:29 -0600") Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Sender: bpf-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: bpf@vger.kernel.org Hi, shuah! >>>>> On Tue, 26 May 2020 11:13:29 -0600, shuah wrote: > 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. But there is code there trying to handle it. All that OUTPUT related things must be removed if it's broken, right? Can I post a patch? > Also make M= doesn't make sense for them. Well, M=... at least includes all the makefiles. > 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? I care about make install actually. But fixing it I had to deal with OUTPUT. Looking a proper for that I found that it's a bit broken. -- WBR, Yauheni Kaliuta