BaseTools: Remove types.TypeType
[mirror_edk2.git] / BaseTools / Tests / PythonToolsTests.py
CommitLineData
f51461c8
LG
1## @file\r
2# Unit tests for Python based BaseTools\r
3#\r
df91e0f9 4# Copyright (c) 2008 - 2015, Intel Corporation. All rights reserved.<BR>\r
f51461c8
LG
5#\r
6# This program and the accompanying materials\r
7# are licensed and made available under the terms and conditions of the BSD License\r
8# which accompanies this distribution. The full text of the license may be found at\r
9# http://opensource.org/licenses/bsd-license.php\r
10#\r
11# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13#\r
14\r
15##\r
16# Import Modules\r
17#\r
18import os\r
19import sys\r
20import unittest\r
21\r
22\r
23def TheTestSuite():\r
24 suites = []\r
25 import CheckPythonSyntax\r
26 suites.append(CheckPythonSyntax.TheTestSuite())\r
df91e0f9
JJ
27 import CheckUnicodeSourceFiles\r
28 suites.append(CheckUnicodeSourceFiles.TheTestSuite())\r
f51461c8
LG
29 return unittest.TestSuite(suites)\r
30\r
31if __name__ == '__main__':\r
32 allTests = TheTestSuite()\r
33 unittest.TextTestRunner().run(allTests)\r
34\r