]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Tests/CToolsTests.py
BaseTools: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / BaseTools / Tests / CToolsTests.py
index ab75d9a7dc36352a9b1ca60c0a73931ad9c1942c..2bc1b62d40ba7e07513e511f0e4f8d3572281b19 100644 (file)
@@ -3,13 +3,7 @@
 #\r
 #  Copyright (c) 2008, Intel Corporation. All rights reserved.<BR>\r
 #\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
-#\r
-#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 #\r
 \r
 ##\r
@@ -26,7 +20,7 @@ modules = (
 \r
 \r
 def TheTestSuite():\r
-    suites = map(lambda module: module.TheTestSuite(), modules)\r
+    suites = list(map(lambda module: module.TheTestSuite(), modules))\r
     return unittest.TestSuite(suites)\r
 \r
 if __name__ == '__main__':\r