Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3753040ybb; Mon, 6 Apr 2020 15:10:54 -0700 (PDT) X-Google-Smtp-Source: APiQypJH5UdAypEVG6BFFYRwhVCH1xA5ZP6av4sSfnGiVJnvmABCepA0BpoQ2kKkf+i0s+Q8rMnt X-Received: by 2002:aca:d44d:: with SMTP id l74mr1178586oig.83.1586211054419; Mon, 06 Apr 2020 15:10:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586211054; cv=none; d=google.com; s=arc-20160816; b=Duk41eYK1O0vcDM2gf+oc5+yS/guFmmBSWy00g56OUxYI8kuPugDdsk/1/R2YEK0P2 pJ6EXt5tNWqruO6mnTdDHNM5hJ1ZJXN6pK7VJXcp8d3jacyTlpfibNntrbPnGV9HQB9g TRIaEtDnL3JV3ncmNXwCjo/a/CorK5d44RyhO1dN943JG9rVKGC+bdtzO8J5CVDMXqtW boO2wIZjIyybIYxTabiM/ievuEa2v3LuOvUKw0yp0A7troaODEQfY9ngBejUqE0YefXM m28lWkT4qHrChaKEb7pQpX48WHW3xILtFFEA5soveH0MxB+lJRTrS847eomJn69X8eE/ Du8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:dkim-signature; bh=gIe8CkLjM82wDUUleKDpjwdoMMyk404Cqic4JU9Nero=; b=sJ0pDGxxDeQnKsbo7LD/5R8yT0NXwG+uE8YX0ZTcVJjyGD8/5E7CKxn4pcSu04rM51 XI9vLSAOeNtn/G9Iq+ojWNu1Q7niIhvGPS9psRLrHGRBIcrI1pi2HWRlBOhyVj3SJYgt QCXeGP6JRpKmE7jG6S/0e9PDKxQRKbVlhtgFMmkYgRQIhEgiiePpUeLeS1wheGQDmIw/ aLMytj9xZULL5z/IeIb4OqNMZeA34LJ3/HZP+KPCea0NjExEgP0k7Zxw/R1MyZe3WZJS BGLJTlPbUZmkbXHoy+5VL5syygo8awJ38kPu0cReE4bvpxxrfvAIN7Y/TAJohLS324B8 bRnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@massaru-org.20150623.gappssmtp.com header.s=20150623 header.b=bSjg+S5s; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b205si6192907oif.126.2020.04.06.15.10.42; Mon, 06 Apr 2020 15:10:54 -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=@massaru-org.20150623.gappssmtp.com header.s=20150623 header.b=bSjg+S5s; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726331AbgDFWJy (ORCPT + 99 others); Mon, 6 Apr 2020 18:09:54 -0400 Received: from mail-qk1-f194.google.com ([209.85.222.194]:45652 "EHLO mail-qk1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726084AbgDFWJx (ORCPT ); Mon, 6 Apr 2020 18:09:53 -0400 Received: by mail-qk1-f194.google.com with SMTP id o18so15195850qko.12 for ; Mon, 06 Apr 2020 15:09:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=massaru-org.20150623.gappssmtp.com; s=20150623; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=gIe8CkLjM82wDUUleKDpjwdoMMyk404Cqic4JU9Nero=; b=bSjg+S5s9dw1lm4JVKtoxcEC0us/Dz3yySWlk0kXzH0pfe6LwjY5LRiWDpPwKmNdLQ IFcCcERwJX97e/R/CqsDHJ65IkA+Fa/yGFMs9uW21KG6zxmWyB7VXyMAhB9GeP9MM8Zv aqCmjCB18+K+Aqu7cf2tDXZG1CtGJ6U6aKeuGS0gQylCCNsx2+C2R1pcGiqLauQ67wUw rDw4vYWthwd3JVsGnaWMTIcHC93ftfEqK8rD9C2kUyC/sqaO85eaYLQMdgdcItvfEDL7 IO0hxYyUDb3TJ53eMVw5dzS2cFcxK72mQFaRTpztu9zBkH6TniwXZygMq66c3UDXAlP7 O2sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=gIe8CkLjM82wDUUleKDpjwdoMMyk404Cqic4JU9Nero=; b=EvQyGA7lvxODscbigmfjUtoRnYfqGFi5ezb/5O4t1xaKhMjxz/+PpbUJhb6DqWkL+f gYfP09nhMHanq48i0ScACIio9HgauF/KjO/kBx6cilaAzMj+Qrtv7uZujI8oASAJgQxQ rhQjmwCEe28u8FtkDiwLZo+mnHB4+Hhqjr+JP2DqkobHNde8VJEPRjOFEGw3kAonPCea /x3MajpVuJm+/ca3WzuDxAvPdp6DWKXy11fXfGN7LP52uc5nktSCfcOoOVsuuWVSjYLD 9VK/uFvaCDwPSboV4TKKPS5S6A1g54Vd2rMbnRE0FrwJEAasCSiAxL+AOBtWHVKswjZy dz1A== X-Gm-Message-State: AGi0PuajN3UoUOwhHmUTrUEVyYVpbstd1P6Dea9EJ303n30gdQwqyBym YLgnrcyK1hyw47xWhqr/zXIxSA== X-Received: by 2002:a37:583:: with SMTP id 125mr11379230qkf.351.1586210991809; Mon, 06 Apr 2020 15:09:51 -0700 (PDT) Received: from bbking.lan ([2804:14c:4a5:36c::cd2]) by smtp.gmail.com with ESMTPSA id x66sm10581544qka.121.2020.04.06.15.09.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Apr 2020 15:09:51 -0700 (PDT) Message-ID: Subject: Re: [PATCH v2] kunit: Fix kunit.py run --build_dir='' fails on "unclean" trees From: Vitor Massaru Iha To: Brendan Higgins Cc: KUnit Development , "open list:KERNEL SELFTEST FRAMEWORK" , Linux Kernel Mailing List , Shuah Khan , linux-kernel-mentees@lists.linuxfoundation.org Date: Mon, 06 Apr 2020 19:09:48 -0300 In-Reply-To: References: <20200401013639.16388-1-vitor@massaru.org> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.4 (3.34.4-1.fc31) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2020-04-06 at 11:12 -0700, Brendan Higgins wrote: > 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. np > 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)? Sure, I'll do that. Thanks! Vitor