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