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-exception
5
6import os
7import sys
8
9this_dir = os.path.dirname(os.path.realpath(__file__))
10sys.path.append(os.path.join(os.path.dirname(this_dir), 'lib'))
11
12import unittest
13
14import tests.unit
15import tests.functional.cases
16
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 suite
24