GStreamer tests compilation

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

GStreamer tests compilation

pchaurasia
Hi Folks,

1. I am looking to compile gstreamer/tests.
2. Does it get compiled when we run gstreamer/autogen.sh; followed by make ?
3. What is best way to get all gstreamer/tests built up and run them ?

Thanks,



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: GStreamer tests compilation

Nicolas Dufresne-5
Le vendredi 15 septembre 2017 à 07:04 -0700, pchaurasia a écrit :
> 1. I am looking to compile gstreamer/tests.
> 2. Does it get compiled when we run gstreamer/autogen.sh; followed by
> make ?

I believe yes.

> 3. What is best way to get all gstreamer/tests built up and run them
> ?

make check


Running the tests manually is a bit harder, since there is loads of env
to setup. You can "cd tests && make help" for more details on how to
run checks.

For the tests/example though, libtool will generate wrapper scripts for
you, you can just ./anexample the wrappers (real binary are hidden in
.libs/ folder with autotools).

regards,
Nicolas
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (201 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: GStreamer tests compilation

pchaurasia
Hi Nicolas,

Thanks for helping out.

I think I am still lost. I tried following -

1. ubuntu@tegra-ubuntu:~/work/Internet/GStreamer/gstreamer$ make
make: *** No targets specified and no makefile found.  Stop.
ubuntu@tegra-ubuntu:~/work/Internet/GStreamer/gstreamer$ make check
make: *** No rule to make target 'check'.  Stop.
ubuntu@tegra-ubuntu:~/work/Internet/GStreamer/gstreamer$ cd tests
ubuntu@tegra-ubuntu:~/work/Internet/GStreamer/gstreamer/tests$ make check
make: Nothing to be done for 'check'.

2. ubuntu@tegra-ubuntu:~/work/Internet/GStreamer/gstreamer/tests$ make help
make: *** No rule to make target 'help'.  Stop.

3. When I build entire gstreamer code base - using make , which directory
will examples end up in ? When I search for an executable corresponding to
helloworld - I do not get anything ? Is top level make building examples or
is it just building libs ?

ubuntu@tegra-ubuntu:~/work/Internet/GStreamer/gstreamer$ find . -name
'*hello*.*'
./tests/examples/helloworld/helloworld.c


Please help.

Thanks




--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel