tests/registry.c needs installed plugins
@mterry
Submitted by Michael Terry Assigned to gri..@..e.bugs
Link to original bug (#693450)
Description
I was looking into enabling the test suite during build in Ubuntu (https://bugs.launchpad.net/ubuntu/+source/grilo/+bug/1119781).
But I ran into several problems.
-
In configure.ac: -AM_CONDITIONAL(ENABLE_TESTS, test "enable_tests" = "xyes") +AM_CONDITIONAL(ENABLE_TESTS, test "x$enable_tests" = "xyes")
-
In tests/registry.c:
- GrlMediaPlugin *source = GRL_MEDIA_PLUGIN (sources_iter->data);
- GrlSource *source = GRL_SOURCE (sources_iter->data);
-
tests/metadata_source.c needs a rethink, since the filter functions are no longer public.
-
tests/registry.c seems to need the package to have been installed, as it looks in the install location for plugins. Is this expected? (Not a deal breaker for using the tests in Ubuntu, but is not as convenient.)
I didn't test the python tests yet, but I'm guessing they may have bit-rotten as well.
Version: 0.2.x