BaseTools: update Test scripts support python3
update Test scripts support python3 Cc: Liming Gao <liming.gao@intel.com> Cc: Yonghong Zhu <yonghong.zhu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Yunhua Feng <yunhuax.feng@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
committed by
Yonghong Zhu
parent
22c4de1ac8
commit
ea787b6b55
@@ -14,7 +14,7 @@
|
||||
all: test
|
||||
|
||||
test:
|
||||
@if command -v python2 >/dev/null 2>&1; then python2 RunTests.py; else python RunTests.py; fi
|
||||
@if command -v $(PYTHON3) >/dev/null 2>&1; then $(PYTHON3) RunTests.py; else python RunTests.py; fi
|
||||
|
||||
clean:
|
||||
find . -name '*.pyc' -exec rm '{}' ';'
|
||||
|
Reference in New Issue
Block a user