24 lines · python
1# -*- coding: utf-8 -*-2# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3# See https://llvm.org/LICENSE.txt for license information.4# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5 6import os7import sys8 9this_dir = os.path.dirname(os.path.realpath(__file__))10sys.path.append(os.path.join(os.path.dirname(this_dir), "lib"))11 12import unittest13 14import tests.unit15import tests.functional.cases16 17 18def suite():19 loader = unittest.TestLoader()20 suite = unittest.TestSuite()21 suite.addTests(loader.loadTestsFromModule(tests.unit))22 suite.addTests(loader.loadTestsFromModule(tests.functional.cases))23 return suite24