Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3570503ybb; Mon, 6 Apr 2020 11:13:28 -0700 (PDT) X-Google-Smtp-Source: APiQypLuF5LWICSvXsx4cDM0A318FXcWe0rA1ezRPb81asdRJvBdCpK0h4vxxUtJaBpvi06lh+Br X-Received: by 2002:aca:dd55:: with SMTP id u82mr381697oig.27.1586196807963; Mon, 06 Apr 2020 11:13:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586196807; cv=none; d=google.com; s=arc-20160816; b=Mld/dAcB3CBGVGbagLoFfDqaKBp2v5DV8hdLvWSg4ehO0ngEdtfQOJuFvl3Y3jqDhd 7tcg2JC1rCFICWOUU7uegp+TkgREuTpdq2KGf7uCpx5jx5VSkhXjL3Q7IcdB/oLtAxIP 1NyLoyZK6jJOj4DCKUpWJn6rIyOxeO1FqfsPsAU8a9NBjFp3Kdhd3rZPW/ELf4aIvWFN aF7on2hPmgKAdaiicl8SL632BPRXmrFS0qgX10oqpGf3XiWTeKAq6FWyCXxVDAZvOHPt pMK+wuz3vcBRftqkEMjqBwzL+9knW4jKf4i+B/y38xYt56GOKWkePsouT3UpoYm0+ARe H10w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=ver6n6MUoiKJ9YQThw8+RbAg+VfgvE+bRaGA1TEZ9VE=; b=kuXKBDIrY1S74sxR555ZP+kp7VO+O4X9rZgwdmziDhBee7qu3SnhNFohiOvmWyo9ha IylTvT3xV993Gkgne7ABmpEyYWS21SGs2T82yCyvGR3qjGS9EfSOoDsdUMdE8fLx8C5P sMu4HMYgYrqMnuisDV3JvIASDaCcmM126PLf1+KtLsFL7O6vi7QsPWbmYK86+0ekgRD6 sf3ojO8QxE5Zfi0O8LXpjlZ/0wM/Kk7roRDl5/6HcfaJBFX3e2kMlFeT1Moox6/w4GPY DO2RIaNCRMenVokgobKeNxX1YUkgZd56X66WMF56uJBrSPI19GY97Ni5I5uZVPisy1L/ p57Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=vQ3F4e20; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u3si136717otq.177.2020.04.06.11.12.56; Mon, 06 Apr 2020 11:13:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=vQ3F4e20; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726589AbgDFSMR (ORCPT + 99 others); Mon, 6 Apr 2020 14:12:17 -0400 Received: from mail-pl1-f196.google.com ([209.85.214.196]:38697 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726521AbgDFSMR (ORCPT ); Mon, 6 Apr 2020 14:12:17 -0400 Received: by mail-pl1-f196.google.com with SMTP id w3so136913plz.5 for ; Mon, 06 Apr 2020 11:12:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ver6n6MUoiKJ9YQThw8+RbAg+VfgvE+bRaGA1TEZ9VE=; b=vQ3F4e20+rPDeXfCEpsaDzx4gn2vua9DgaFCprSToBwI20LZ5YB4UsBIJfyfRVCQw/ Ink+pTcBBewybEaXx8NhUDqYX8w1Dw/rPVxpaIcMBOJUv/wyf3ZSTAsysrxDoksvoQSO fIQ4fEdj10/Ux4gC4Dwl6bekkG5P3XmylDoxXB/x1CZNeuPgacxGKd0niIyMFLCM0lw6 n4KXDQTbJXV2JO2k6TDP7q2ntBK6053pabIyqsUvJS+migpswwmAjIk2FFPdLbXpEZ21 Zn0OdSBc+7IDjqFnbKm82vd0w9UMPwNmD1cDMyreHkwtazMNAyR+RfJnBTfsPRxlF3Lk vwqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ver6n6MUoiKJ9YQThw8+RbAg+VfgvE+bRaGA1TEZ9VE=; b=SPEv1cfnn+nJ+ibvYdRDbu2rMEYiGV/at7hNLStK0aFzcsGJvnZgF4WLpz1Ky9SEAd NcY2OpR5WplDTwHpAKZVXLrWgIwdLbEzXtBlwX+pf9QzJLGNXiM6QAiCaoVF5MTuX7um UKLr6xhv92gZ5EpjHFplc+Y1RjyQYvJ0dFpkd2qGED3KlWYO/daToZlp1oAhyPH35TbH AhJw1cywTKKwayaFUryNsjrM5cvGX0qCciJs/ODQfGFmSMdbb6sJiC+8qV1MV/seTQMq w9dj9rJQXHFQ1uT6+cFEsaImy+seJ3uPgIqYWB8rubYSblfXK6/CT9BOHDipwZfs8kSu LbZw== X-Gm-Message-State: AGi0PuafWHi4QN+2GFbADq2GjmCVGv1VipdKNEfCxtI8GqYljF6qWyWp Og1UToHFf5olXULXEKbVISdtko7zT/ws2PrDrYAChg== X-Received: by 2002:a17:90a:9f03:: with SMTP id n3mr639147pjp.29.1586196735041; Mon, 06 Apr 2020 11:12:15 -0700 (PDT) MIME-Version: 1.0 References: <20200401013639.16388-1-vitor@massaru.org> In-Reply-To: <20200401013639.16388-1-vitor@massaru.org> From: Brendan Higgins Date: Mon, 6 Apr 2020 11:12:03 -0700 Message-ID: Subject: Re: [PATCH v2] kunit: Fix kunit.py run --build_dir='' fails on "unclean" trees To: Vitor Massaru Iha Cc: KUnit Development , "open list:KERNEL SELFTEST FRAMEWORK" , Linux Kernel Mailing List , Shuah Khan , linux-kernel-mentees@lists.linuxfoundation.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 31, 2020 at 6:36 PM Vitor Massaru Iha wrote: > > Fix this bug: https://bugzilla.kernel.org/show_bug.cgi?id=205219 > > For some reason, the environment variable ARCH is used instead of ARCH > passed as an argument, this patch uses a copy of the env, but using > ARCH=um and CROSS_COMPILER='' to avoid this problem. > > This patch doesn't change the user's environment variables, avoiding > side effects. > > Signed-off-by: Vitor Massaru Iha Sorry for the delayed reply. I had two people finish up on my team last week and I needed to do some things for that. You now have my undivided attention. So, I tried to apply this patch and it still doesn't apply on kselftest/kunit. At this point, basing your changes on torvalds/master would be fine since kselftest/kunit just got merged for 5.7. Can you use the --base branch option when you send your next revision so I know what branch you are working against (just to be sure)?