fix(video): recover encoder capacity, pace RTP and isolate preview sessions
This commit is contained in:
@@ -16,7 +16,7 @@ sys.path.insert(0, str(REPOSITORY / "scripts/packaging"))
|
||||
from debian import package # noqa: E402
|
||||
from fetch_sdk import verify # noqa: E402
|
||||
|
||||
VERSION = "0.1.3-30"
|
||||
VERSION = "0.1.3-37"
|
||||
WHEELS = {
|
||||
"aiohappyeyeballs",
|
||||
"aiohttp",
|
||||
|
||||
@@ -89,6 +89,18 @@ try:
|
||||
)
|
||||
suite = unittest.defaultTestLoader.discover(str(ROOT / "tests"), pattern="check_*.py")
|
||||
suite.addTests(unittest.defaultTestLoader.discover(str(ROOT / "tests"), pattern="test_ble*.py"))
|
||||
# Exercise the exact packaged SDK/libx264 wheels, not the Mac's native codec.
|
||||
spec = importlib.util.spec_from_file_location(
|
||||
"codec_regressions", ROOT.parents[1] / "tests/test_media_reconfiguration.py")
|
||||
codec_tests = importlib.util.module_from_spec(spec)
|
||||
spec.loader.exec_module(codec_tests)
|
||||
suite.addTests(unittest.FunctionTestCase(test) for name, test in vars(codec_tests).items()
|
||||
if name.startswith("test_") and callable(test))
|
||||
spec = importlib.util.spec_from_file_location(
|
||||
"profile_regressions", ROOT.parents[1] / "tests/test_media_profile_recovery.py")
|
||||
profile_tests = importlib.util.module_from_spec(spec)
|
||||
spec.loader.exec_module(profile_tests)
|
||||
suite.addTests(unittest.defaultTestLoader.loadTestsFromModule(profile_tests))
|
||||
if not unittest.TextTestRunner(verbosity=2).run(suite).wasSuccessful():
|
||||
raise RuntimeError("Package qualification tests failed")
|
||||
finally:
|
||||
|
||||
Reference in New Issue
Block a user