]>
Commit | Line | Data |
---|---|---|
f51461c8 LG |
1 | ## @file\r |
2 | # Unit tests for C based BaseTools\r | |
3 | #\r | |
4 | # Copyright (c) 2008, Intel Corporation. All rights reserved.<BR>\r | |
5 | #\r | |
2e351cbe | 6 | # SPDX-License-Identifier: BSD-2-Clause-Patent\r |
f51461c8 LG |
7 | #\r |
8 | \r | |
9 | ##\r | |
10 | # Import Modules\r | |
11 | #\r | |
12 | import os\r | |
13 | import sys\r | |
14 | import unittest\r | |
15 | \r | |
16 | import TianoCompress\r | |
17 | modules = (\r | |
18 | TianoCompress,\r | |
19 | )\r | |
20 | \r | |
21 | \r | |
22 | def TheTestSuite():\r | |
fe906312 | 23 | suites = list(map(lambda module: module.TheTestSuite(), modules))\r |
f51461c8 LG |
24 | return unittest.TestSuite(suites)\r |
25 | \r | |
26 | if __name__ == '__main__':\r | |
27 | allTests = TheTestSuite()\r | |
28 | unittest.TextTestRunner().run(allTests)\r | |
29 | \r |