]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Tests/GNUmakefile
BaseTools: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / BaseTools / Tests / GNUmakefile
index 3fb5f4fad0eecbb1f9bc5edf3c7fc3943335a195..1cb77f84b1bfed93d74a524eb08b7d75fb3b6c03 100644 (file)
@@ -1,9 +1,15 @@
-
-all: test
-
-test:
-       @python RunTests.py
-
-clean:
-       find . -name '*.pyc' -exec rm '{}' ';'
-
+## @file\r
+# GNU/Linux makefile for 'Tests' module build.\r
+#\r
+# Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>\r
+# SPDX-License-Identifier: BSD-2-Clause-Patent\r
+#\r
+\r
+all: test\r
+\r
+test:\r
+       @if command -v $(PYTHON_COMMAND) >/dev/null 1; then $(PYTHON_COMMAND) RunTests.py; else python RunTests.py; fi\r
+\r
+clean:\r
+       find . -name '*.pyc' -exec rm '{}' ';'\r
+\r