Element test framework?

Russel Winder russel at winder.org.uk
Fri Mar 15 14:34:52 UTC 2019

On Tue, 2019-03-12 at 22:49 +0100, Sebastian Dröge wrote:
> Yes, there's a trivial unit test in gstreamer-rs/gstreamer-check and
> various bigger tests in gst-plugin-rs. Just grep for "Harness" :)

I have been following these and seem to have the framework running, which is
great. However I am falling as Hurdle 1, because:


is failing with:

   thread 'can_get_swradiosrc_element' panicked at 'called `Result::unwrap()` on an `Err` value: BoolError { message: "Failed to register the plugin", filename: "src/lib.rs", function: "gstsdr::plugin_desc", line: 49 }', src/libcore/result.rs:997:5

and I am now at a loss as to how to go about unpacking what might be causing
this problem. Any hints on how to debug this sort of thing? The
gstsdr::plugin_desc is:

       "SDR Plugin",

Though I haven't yet created the repository on GitLab.

Dr Russel Winder      t: +44 20 7585 2200
41 Buckmaster Road    m: +44 7770 465 077
London SW11 1EN, UK   w: www.russel.org.uk

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190315/29bc61ac/attachment.sig>

More information about the gstreamer-devel mailing list