Files
OSACA/tests/all_tests.py
2021-03-11 12:02:45 +01:00

23 lines
515 B
Python
Executable File

#!/usr/bin/env python3
import sys
import unittest
sys.path[0:0] = [".", ".."]
suite = unittest.TestLoader().loadTestsFromNames(
[
"test_base_parser",
"test_parser_x86att",
"test_parser_AArch64",
"test_marker_utils",
"test_semantics",
"test_frontend",
"test_db_interface",
"test_kerncraftAPI",
"test_cli",
]
)
testresult = unittest.TextTestRunner(verbosity=2, buffer=True).run(suite)
sys.exit(0 if testresult.wasSuccessful() else 1)