]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Tests/GNUmakefile
BaseTools: Update windows and linux run scripts file to use Python3
[mirror_edk2.git] / BaseTools / Tests / GNUmakefile
index 0c11f6aae94652caab22c79fbba5a492153e3565..d6f4e1908b7e6ae93ae900744fbba337a2cc5b65 100644 (file)
@@ -14,7 +14,7 @@
 all: test\r
 \r
 test:\r
-       @if command -v python2 >/dev/null 2>&1; then python2 RunTests.py; else python RunTests.py; fi\r
+       @if command -v $(PYTHON) >/dev/null 1; then $(PYTHON) RunTests.py; else python RunTests.py; fi\r
 \r
 clean:\r
        find . -name '*.pyc' -exec rm '{}' ';'\r