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.

42 lines
1018 B

  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. try:
  11. from .test_nearley.test_nearley import TestNearley
  12. except ImportError:
  13. logger.warning("Warning: Skipping tests for Nearley grammar imports (js2py required)")
  14. # from .test_selectors import TestSelectors
  15. # from .test_grammars import TestPythonG, TestConfigG
  16. from .test_logger import Testlogger
  17. from .test_parser import (
  18. TestLalrStandard,
  19. TestEarleyStandard,
  20. TestCykStandard,
  21. TestLalrContextual,
  22. TestEarleyDynamic,
  23. TestLalrCustom,
  24. # TestFullEarleyStandard,
  25. TestFullEarleyDynamic,
  26. TestFullEarleyDynamic_complete,
  27. TestParsers,
  28. )
  29. logger.setLevel(logging.INFO)
  30. if __name__ == '__main__':
  31. unittest.main()