mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
34916e133d
gst-tester is a tool to launch `.validatetest` files with TAP[0] compatible output and supporting missing `gst-validate` application which means that it can be cleanly integrated with meson test harness. It allows us to use `gst-validate` to write integration tests in any GStreamer repository keeping them as close as possible to the code. It can simplify a lot test writing and reading and not having to go into another repository to implement or run tests makes it more convenient to use. This also implements a stupid simple test to show how that works [0] https://testanything.org/ Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/461>
17 lines
385 B
Text
17 lines
385 B
Text
meta,
|
|
handles-states=true,
|
|
ignore-eos=true,
|
|
args = {
|
|
"fakesrc num-buffers=5 ! fakesink sync=true name=sink",
|
|
},
|
|
configs = {
|
|
"core, fail-on-missing-plugin=true",
|
|
"$(validateflow), pad=sink:sink, buffers-checksum=true",
|
|
}
|
|
|
|
play
|
|
crank-clock, expected-elapsed-time=0.0
|
|
crank-clock, repeat=5, expected-elapsed-time=0.0
|
|
|
|
stop, on-message=eos
|
|
|