X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=BaseTools%2FTests%2FGNUmakefile;h=0c11f6aae94652caab22c79fbba5a492153e3565;hb=1ccc4d895dd8d659d016efcd6ef8a48749aba1d0;hp=4bd51c678d5bbe2c064c4e6429e3e3ffe3f6464c;hpb=c69f724df0f9e53b2c29f10e1eae3c784749e8da;p=mirror_edk2.git
diff --git a/BaseTools/Tests/GNUmakefile b/BaseTools/Tests/GNUmakefile
index 4bd51c678d..0c11f6aae9 100644
--- a/BaseTools/Tests/GNUmakefile
+++ b/BaseTools/Tests/GNUmakefile
@@ -1,8 +1,8 @@
## @file
-# Windows makefile for 'Tests' module build.
+# GNU/Linux makefile for 'Tests' module build.
#
-# Copyright (c) 2009 - 2010, Intel Corporation
-# All rights reserved. This program and the accompanying materials
+# Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.
+# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
# which accompanies this distribution. The full text of the license may be found at
# http://opensource.org/licenses/bsd-license.php
@@ -14,7 +14,7 @@
all: test
test:
- @python RunTests.py
+ @if command -v python2 >/dev/null 2>&1; then python2 RunTests.py; else python RunTests.py; fi
clean:
find . -name '*.pyc' -exec rm '{}' ';'