mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
tracer/Makefile: fix test invocation
And fix a deprecation warning.
This commit is contained in:
parent
91ac5089cf
commit
2239c8b7ac
2 changed files with 2 additions and 2 deletions
|
@ -9,4 +9,4 @@ logs/trace.latency.log:
|
|||
gst-launch-1.0 -q audiotestsrc num-buffers=10 wave=silence ! audioconvert ! autoaudiosink
|
||||
|
||||
check: $(TEST_DATA)
|
||||
python3 -m unittest discover tracer
|
||||
python3 -m unittest discover tracer "*_test.py"
|
||||
|
|
|
@ -43,4 +43,4 @@ class TestParser(unittest.TestCase):
|
|||
sys.stdin = TRACER_LOG_DATA
|
||||
with Parser('-') as log:
|
||||
event = next(log)
|
||||
self.assertEquals(len(event), 10)
|
||||
self.assertEqual(len(event), 10)
|
||||
|
|
Loading…
Reference in a new issue