mirror of https://github.com/acidanthera/audk.git
BaseTools: Use python2 if available in Tests/GNUmakefile
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Charles Duffy <chaduffy@cisco.com> Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19696 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
5e40764835
commit
87157f76f0
|
@ -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 '{}' ';'
|
||||
|
|
Loading…
Reference in New Issue