summaryrefslogtreecommitdiffstats
path: root/BaseTools/Tests/GNUmakefile
diff options
context:
space:
mode:
authorLiming Gao <liming.gao@intel.com>2018-12-28 16:25:04 +0800
committerFeng, Bob C <bob.c.feng@intel.com>2019-02-01 11:09:23 +0800
commit7aef7b7cbf16f79fb17c5ace98b1bc7f15bb90fa (patch)
tree360f42806db00160fa79e6d2647722b3782c5206 /BaseTools/Tests/GNUmakefile
parentd8238aaf862a55eec77040844c71a02c71294e86 (diff)
downloadedk2-7aef7b7cbf16f79fb17c5ace98b1bc7f15bb90fa.tar.gz
edk2-7aef7b7cbf16f79fb17c5ace98b1bc7f15bb90fa.tar.bz2
edk2-7aef7b7cbf16f79fb17c5ace98b1bc7f15bb90fa.zip
BaseTools: Update PYTHON env to PYTHON_COMMAND
Update PYTHON env to PYTHON_COMMAND. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao <liming.gao@intel.com> Tested-by: Laszlo Ersek <lersek@redhat.com> Tested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Bob Feng <bob.c.feng@intel.com>
Diffstat (limited to 'BaseTools/Tests/GNUmakefile')
-rw-r--r--BaseTools/Tests/GNUmakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/BaseTools/Tests/GNUmakefile b/BaseTools/Tests/GNUmakefile
index d6f4e1908b..3eb52b3f83 100644
--- a/BaseTools/Tests/GNUmakefile
+++ b/BaseTools/Tests/GNUmakefile
@@ -14,7 +14,7 @@
all: test
test:
- @if command -v $(PYTHON) >/dev/null 1; then $(PYTHON) RunTests.py; else python RunTests.py; fi
+ @if command -v $(PYTHON_COMMAND) >/dev/null 1; then $(PYTHON_COMMAND) RunTests.py; else python RunTests.py; fi
clean:
find . -name '*.pyc' -exec rm '{}' ';'