mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-12-26 16:47:40 +01:00
30 lines
546 B
Python
30 lines
546 B
Python
|
## @file
|
||
|
# Unit tests for C based BaseTools
|
||
|
#
|
||
|
# Copyright (c) 2008, Intel Corporation. All rights reserved.<BR>
|
||
|
#
|
||
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
||
|
#
|
||
|
|
||
|
##
|
||
|
# Import Modules
|
||
|
#
|
||
|
import os
|
||
|
import sys
|
||
|
import unittest
|
||
|
|
||
|
import TianoCompress
|
||
|
modules = (
|
||
|
TianoCompress,
|
||
|
)
|
||
|
|
||
|
|
||
|
def TheTestSuite():
|
||
|
suites = list(map(lambda module: module.TheTestSuite(), modules))
|
||
|
return unittest.TestSuite(suites)
|
||
|
|
||
|
if __name__ == '__main__':
|
||
|
allTests = TheTestSuite()
|
||
|
unittest.TextTestRunner().run(allTests)
|
||
|
|