I want to verify whether some of my plugins like capsfilter , fakesrc etc are working fine. Instead of tesing with gst-launch or some testapp, if there is a standard test suite available from Gstreamer, it wuld be helpful for thorough testing. I saw test-suites in gstreamer/tests/check/elements folder but no idea on how to run it. Please advice on how to run capsfilter test from test suite.
|
Got some information that I have to set GST_CHECKS env variable to run optional tests. But no info beyond that.
|
This post was updated on .
I did make check from gst-plugins-good-0.10.30 folder and it ran all tests succesfully. But I wanted specific tests t be done. So I took an example of ac3parser and from gst-plugins-good-0.10.30//tests/check --- ran GST_CHECKS=test_parse_normal GST_DEBUG=*:6 make elements/ac3parse.
Outpt: GST_CHECKS=test_parse_normal GST_DEBUG=*:6 make elements/ac3parse CC ac3parse.o CC libparser_la-parser.lo CCLD libparser.la CCLD elements/ac3parse and then did : ./elements/ac3parse Running suite(s): ac3parse 83%: Checks: 6, Failures: 1, Errors: 0 elements/parser.c:137:F:general:test_parse_detect_stream:0: Assertion 'gst_caps_is_equal (GST_BUFFER_CAPS (buffer), vdata->caps)' failed Is this what is expected.? |
Try running it then:
GST_CHECKS=test_parse_normal GST_DEBUG=*:6 elements/ac3parse And if you happened to debug it, you might find useful CK_FORK=no so the test runs in the same process. HTH, Kris On 30/11/12 06:24, deepthips wrote: > I did make check from gst-plugins-good-0.10.30 folder and it ran all tests > succesfully. But I wanted specific tests t be done. So I took an example of > ac3parser and from gst-plugins-good-0.10.30//tests/check --- ran > GST_CHECKS=test_parse_normal GST_DEBUG=*:6 make elements/ac3parse. > > Outpt: > > GST_CHECKS=test_parse_normal GST_DEBUG=*:6 make elements/ac3parse > CC ac3parse.o > CC libparser_la-parser.lo > CCLD libparser.la > CCLD elements/ac3parse > > I expected to see some test results. It just compiled. > > > > -- > View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Gstreamer-test-suite-usage-tp4657138p4657140.html > Sent from the GStreamer-devel mailing list archive at Nabble.com. > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel > _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by deeps8us
On Thu, 2012-11-29 at 22:24 -0800, deepthips wrote:
> I did make check from gst-plugins-good-0.10.30 folder and it ran all tests > succesfully. But I wanted specific tests t be done. So I took an example of > ac3parser and from gst-plugins-good-0.10.30//tests/check --- ran > GST_CHECKS=test_parse_normal GST_DEBUG=*:6 make elements/ac3parse. > > Outpt: > > GST_CHECKS=test_parse_normal GST_DEBUG=*:6 make elements/ac3parse > CC ac3parse.o > CC libparser_la-parser.lo > CCLD libparser.la > CCLD elements/ac3parse > > I expected to see some test results. It just compiled. Try (in -good/tests/check/): $ make elements/ac3parse.check $ make check $ make help Cheers -Tim _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |