Reviewed-by: Liming Gao <[email protected]>
> -----Original Message----- > From: edk2-devel [mailto:[email protected]] On Behalf Of > Yonghong Zhu > Sent: Sunday, October 14, 2018 12:40 AM > To: [email protected] > Subject: [edk2] [Patch] BaseTools/Tests: Update GNUmakefile to use python3 > variable > > Cover the case use do make -C BaseTools before run the .edksetup.sh > file. > > Cc: Ard Biesheuvel <[email protected]> > Cc: Leif Lindholm <[email protected]> > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: Yonghong Zhu <[email protected]> > --- > 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 > > _______________________________________________ > edk2-devel mailing list > [email protected] > https://lists.01.org/mailman/listinfo/edk2-devel _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

