File: tests.py

package info (click to toggle)
cmake-format 0.6.13-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,436 kB
  • sloc: python: 16,990; makefile: 14
file content (55 lines) | stat: -rw-r--r-- 1,602 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
import unittest

import sys
import os
base_override = os.getenv("PYBUILD_TEST_BASE_OVERRIDE")
if base_override is not None:
  sys.path.append(base_override)

# pylint: disable=wildcard-import
# pylint: disable=unused-wildcard-import
# pylint: disable=unused-import

from cmakelang.format.invocation_tests import TestInvocations
from cmakelang.format.layout_tests import TestCanonicalLayout
from cmakelang.lex.tests import TestSpecificLexings
from cmakelang.markup_tests import *
from cmakelang.parse.tests import TestCanonicalParse

from cmakelang.command_tests import (
    TestAddCustomCommand,
    TestComment,
    TestConditional,
    TestCustomCommand,
    TestExport,
    TestExternalProject,
    TestForeach,
    TestFile,
    TestInstall,
    TestSetTargetProperties,
    TestSet)

from cmakelang.command_tests.add_executable_tests \
    import TestAddExecutableCommand
from cmakelang.command_tests.add_library_tests \
    import TestAddLibraryCommand
from cmakelang.command_tests.misc_tests \
    import TestMiscFormatting
#from cmakelang.contrib.validate_database \
#    import TestContributorAgreements
#from cmakelang.contrib.validate_pullrequest \
#    import TestContribution
from cmakelang.lint.test.expect_tests import (
    ConfigTestCase,
    LintTests)
from cmakelang.lint.test.execution_tests import (
    TestFormatFiles)
from cmakelang.test.version_number_test \
    import TestVersionNumber
#from cmakelang.test.command_db_test \
#    import TestCommandDatabase
from cmakelang.test.config_include_test \
    import TestConfigInclude

if __name__ == '__main__':
  unittest.main()