[OE-core] [PATCH v2] gstreamer: enable ptest support

Burton, Ross ross.burton at intel.com
Wed Mar 14 17:03:58 UTC 2018


On 28 February 2018 at 02:51, Anuj Mittal <anuj.mittal at intel.com> wrote:

> +diff --git a/Makefile.am b/Makefile.am
> +index de057c4..42e90fe 100644
> +--- a/Makefile.am
> ++++ b/Makefile.am
> +@@ -96,6 +96,9 @@ check-torture:
> +
> + build-checks:
> +       $(MAKE) -C tests/check build-checks
> ++
> ++install-ptest:
> ++      $(MAKE) -C tests/check DESTDIR=$(DESTDIR) $@
> + else
> + check-valgrind:
>
+       echo "'check' library not installed, skipping"
>

I'd say not to bother patching the top-level and instead call the right
makefile from do_install_ptest.

++install-ptest: $(TESTS)
> ++      @$(INSTALL) -d $(DESTDIR)
> ++      @for dir in gst libs tools pipelines elements generic; do \
> ++              if [ -x $$dir/.libs ]; then \
> ++                      $(INSTALL) -d $(DESTDIR)/$$dir; \
> ++                      $(INSTALL_PROGRAM) $$dir/.libs/*
> $(DESTDIR)/$$dir/; \
> ++              fi \
> ++      done
>

Can this do string functions on TESTS instead of hard-coding the list of
directories?

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20180314/2c7ba139/attachment-0002.html>


More information about the Openembedded-core mailing list