From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:4864:20::132; helo=mail-it1-x132.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-it1-x132.google.com (mail-it1-x132.google.com [IPv6:2607:f8b0:4864:20::132]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id F1CEA21179259 for ; Sat, 13 Oct 2018 09:43:59 -0700 (PDT) Received: by mail-it1-x132.google.com with SMTP id w200-v6so22247525itc.4 for ; Sat, 13 Oct 2018 09:43:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=pY9tQAhI8AEh71/+DATZ3paCn/kfWniVM2LLO/74fms=; b=iy1I75m4OC1gyDZtmROEEZi8KhHUGE4kJQra3zoZ7Sro+6JDFeb5chS89T5dgAPVDL NZAvJCt8F12a47IT0OaattNjRYVwSx3/09baT3Wi1wReXWVQYjQUAPddFUDr8dS3AlNx eQTc3lz373YmhO0ddkBS2cpI7tDZbkIFUl5Sg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=pY9tQAhI8AEh71/+DATZ3paCn/kfWniVM2LLO/74fms=; b=bdx/9Q05yCvt/aEB+Wkc61DC+FUhKuJt5IMyubi2xfkYTby+rp+zF9BnxI0pJXYX5T 8TqmWOUwsLu0PAIXh3Xi6kQ7h+it+/auar/cziDEhtZMtgXZMDp0Hdt2By7wVYOLw7RD a+i4Gw+44kANLK7HKlEvZk8Iba+MesHkLK5aswyCVU75yKTepNTQ5K81W7marbbi85AF 0SnKBOf73oqOzMbb7f+9xUTx+Nf0pQUmjuVgO4cGcMSrHMxI7mxISe8FJjMOIpB/oSQP r4Uo2nhjnHXw/Iki3KCvCbLvSxl96eSWkxatgITNl5g7ZUm6uEd2Sox4wac1kYvbooo1 vMGA== X-Gm-Message-State: ABuFfoh4JTMjTO78Z3rSDAcr5ni7rQVdUBn4oyyJT+x50K2ZtJTz5LN1 rmb1IvHkxgDhbPcMy5ZQb/CHNGNqS9pWKJcE2a91Eg== X-Google-Smtp-Source: ACcGV62gMxX0IeaEdXRaY1mnjSMP4ENYA5INX4ENCJmhE/HGB4eXDEz3kvjtLPBHB8a/NAFFIdUedcoeV6MRIRZRFGY= X-Received: by 2002:a24:e08f:: with SMTP id c137-v6mr8478074ith.71.1539449038681; Sat, 13 Oct 2018 09:43:58 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a6b:5910:0:0:0:0:0 with HTTP; Sat, 13 Oct 2018 09:43:57 -0700 (PDT) In-Reply-To: <1539448829-13824-1-git-send-email-yonghong.zhu@intel.com> References: <1539448829-13824-1-git-send-email-yonghong.zhu@intel.com> From: Ard Biesheuvel Date: Sat, 13 Oct 2018 18:43:57 +0200 Message-ID: To: Yonghong Zhu Cc: "edk2-devel@lists.01.org" , Leif Lindholm Subject: Re: [Patch] BaseTools/Tests: Update GNUmakefile to use python3 variable X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Oct 2018 16:44:00 -0000 Content-Type: text/plain; charset="UTF-8" On 13 October 2018 at 18:40, Yonghong Zhu wrote: > Cover the case use do make -C BaseTools before run the .edksetup.sh > file. > > Cc: Ard Biesheuvel > Cc: Leif Lindholm > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: Yonghong Zhu Reviewed-by: Ard Biesheuvel Tested-by: Ard Biesheuvel > --- > BaseTools/Tests/GNUmakefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/BaseTools/Tests/GNUmakefile b/BaseTools/Tests/GNUmakefile > index af334a8a..536f0b7 100644 > --- a/BaseTools/Tests/GNUmakefile > +++ b/BaseTools/Tests/GNUmakefile > @@ -12,10 +12,10 @@ > # > > all: test > > test: > - @if command -v $(PYTHON3) >/dev/null 2>&1; then $(PYTHON3) RunTests.py; else python RunTests.py; fi > + @if command -v python3 >/dev/null 2>&1; then python3 RunTests.py; else echo "Error: Please install a python 3 tool!"; fi > > clean: > find . -name '*.pyc' -exec rm '{}' ';' > > -- > 2.6.1.windows.1 >