diff --git a/BaseTools/Tests/GNUmakefile b/BaseTools/Tests/GNUmakefile index af334a8ac2..b920044ae1 100644 --- a/BaseTools/Tests/GNUmakefile +++ b/BaseTools/Tests/GNUmakefile @@ -14,7 +14,7 @@ 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 '{}' ';'