]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Tests/GNUmakefile
BaseTools: Clean up tools_def.template for XCODE5
[mirror_edk2.git] / BaseTools / Tests / GNUmakefile
index 4bd51c678d5bbe2c064c4e6429e3e3ffe3f6464c..0c11f6aae94652caab22c79fbba5a492153e3565 100644 (file)
@@ -1,8 +1,8 @@
 ## @file\r
-# Windows makefile for 'Tests' module build.\r
+# GNU/Linux makefile for 'Tests' module build.\r
 #\r
-# Copyright (c) 2009 - 2010, Intel Corporation<BR>\r
-# All rights reserved. This program and the accompanying materials\r
+# Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>\r
+# This program and the accompanying materials\r
 # are licensed and made available under the terms and conditions of the BSD License\r
 # which accompanies this distribution.  The full text of the license may be found at\r
 # http://opensource.org/licenses/bsd-license.php\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