13 lines
436 B
Python
13 lines
436 B
Python
#!/usr/bin/env python3
|
|
"""Run positional sound regressions without audio or speech initialization."""
|
|
|
|
from pathlib import Path
|
|
import unittest
|
|
|
|
|
|
if __name__ == "__main__":
|
|
testPath = Path(__file__).resolve().parent / "tests"
|
|
suite = unittest.defaultTestLoader.discover(str(testPath), pattern="test_sound.py")
|
|
result = unittest.TextTestRunner(verbosity=2).run(suite)
|
|
raise SystemExit(0 if result.wasSuccessful() else 1)
|