lark/tests/__main__.py

35 lines
729 B
Python
Raw Normal View History

from __future__ import absolute_import, print_function
import unittest
import logging
from .test_trees import TestTrees
2018-03-10 10:28:13 +00:00
from .test_tools import TestStandalone
2017-08-04 12:32:39 +00:00
try:
from .test_nearley.test_nearley import TestNearley
except ImportError:
pass
# from .test_selectors import TestSelectors
# from .test_grammars import TestPythonG, TestConfigG
2017-08-04 12:32:39 +00:00
from .test_parser import (
TestLalrStandard,
TestEarleyStandard,
TestCykStandard,
2017-08-04 12:32:39 +00:00
TestLalrContextual,
# TestEarleyScanless,
2017-08-04 12:32:39 +00:00
TestEarleyDynamic,
# TestFullEarleyScanless,
2017-08-04 12:32:39 +00:00
TestFullEarleyDynamic,
TestParsers,
)
logging.basicConfig(level=logging.INFO)
if __name__ == '__main__':
unittest.main()