24 lines
713 B
Python
24 lines
713 B
Python
"""Run the composable Hermes execution-safety build regressions."""
|
|
|
|
import unittest
|
|
|
|
from hermes_decomposition_safety_regression import DecompositionSafetyTests
|
|
from hermes_run_safety_regression import ExactRunSafetyTests
|
|
|
|
|
|
def main() -> int:
|
|
"""Run both transaction domains and return a build-friendly status."""
|
|
loader = unittest.defaultTestLoader
|
|
suite = unittest.TestSuite(
|
|
(
|
|
loader.loadTestsFromTestCase(ExactRunSafetyTests),
|
|
loader.loadTestsFromTestCase(DecompositionSafetyTests),
|
|
)
|
|
)
|
|
result = unittest.TextTestRunner(verbosity=2).run(suite)
|
|
return 0 if result.wasSuccessful() else 1
|
|
|
|
|
|
if __name__ == "__main__":
|
|
raise SystemExit(main())
|