From 87157f76f05469dc5c349fe53c4402e408136f2e Mon Sep 17 00:00:00 2001 From: Charles Duffy Date: Wed, 20 Jan 2016 05:14:10 +0000 Subject: BaseTools: Use python2 if available in Tests/GNUmakefile Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Charles Duffy Reviewed-by: Yonghong Zhu git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19696 6f19259b-4bc3-4df7-8a09-765794883524 --- BaseTools/Tests/GNUmakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BaseTools/Tests/GNUmakefile b/BaseTools/Tests/GNUmakefile index b7cb226da9..0c11f6aae9 100644 --- a/BaseTools/Tests/GNUmakefile +++ b/BaseTools/Tests/GNUmakefile @@ -14,7 +14,7 @@ all: test test: - @python RunTests.py + @if command -v python2 >/dev/null 2>&1; then python2 RunTests.py; else python RunTests.py; fi clean: find . -name '*.pyc' -exec rm '{}' ';' -- cgit v1.2.3