mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 09:40:37 +00:00
8a810ece62
Original commit message from CVS: Add some tests
12 lines
295 B
Python
12 lines
295 B
Python
#!/usr/bin/env python
|
|
import sys
|
|
from unittest import TestLoader, TextTestRunner
|
|
from types import ClassType
|
|
|
|
loader = TestLoader()
|
|
testRunner = TextTestRunner()
|
|
|
|
for name in ('element', 'pipeline'):
|
|
print 'Testing', name
|
|
tests = loader.loadTestsFromName(name)
|
|
testRunner.run(tests)
|