This repo contains code to mirror other repos. It also contains the code that is getting mirrored.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.1 KiB

  1. from __future__ import absolute_import, print_function
  2. import unittest
  3. import logging
  4. from lark import logger
  5. from .test_trees import TestTrees
  6. from .test_tools import TestStandalone
  7. from .test_cache import TestCache
  8. from .test_grammar import TestGrammar
  9. from .test_reconstructor import TestReconstructor
  10. from .test_tree_forest_transformer import TestTreeForestTransformer
  11. try:
  12. from .test_nearley.test_nearley import TestNearley
  13. except ImportError:
  14. logger.warning("Warning: Skipping tests for Nearley grammar imports (js2py required)")
  15. # from .test_selectors import TestSelectors
  16. # from .test_grammars import TestPythonG, TestConfigG
  17. from .test_logger import Testlogger
  18. from .test_parser import (
  19. TestLalrStandard,
  20. TestEarleyStandard,
  21. TestCykStandard,
  22. TestLalrContextual,
  23. TestEarleyDynamic,
  24. TestLalrCustom,
  25. # TestFullEarleyStandard,
  26. TestFullEarleyDynamic,
  27. TestFullEarleyDynamic_complete,
  28. TestParsers,
  29. )
  30. logger.setLevel(logging.INFO)
  31. if __name__ == '__main__':
  32. unittest.main()