]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Tests/GNUmakefile
BaseTools/GenFw: Add X64 GOTPCREL Support to GenFw
[mirror_edk2.git] / BaseTools / Tests / GNUmakefile
index c63c2166c318618c8442dc67134206b2cf350679..0c11f6aae94652caab22c79fbba5a492153e3565 100644 (file)
@@ -1,5 +1,5 @@
 ## @file\r
-# Windows makefile for 'Tests' module build.\r
+# GNU/Linux makefile for 'Tests' module build.\r
 #\r
 # Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>\r
 # This program and the accompanying materials\r
@@ -14,7 +14,7 @@
 all: test\r
 \r
 test:\r
-       @python RunTests.py\r
+       @if command -v python2 >/dev/null 2>&1; then python2 RunTests.py; else python RunTests.py; fi\r
 \r
 clean:\r
        find . -name '*.pyc' -exec rm '{}' ';'\r