gstreamer/testsuite/runtests.py

13 lines
308 B
Python
Raw Normal View History

#!/usr/bin/env python
import sys
from unittest import TestLoader, TextTestRunner
from types import ClassType
loader = TestLoader()
testRunner = TextTestRunner()
for name in ('element', 'interface', 'pipeline'):
print 'Testing', name
tests = loader.loadTestsFromName(name)
testRunner.run(tests)