1
0
Fork 0
mirror of https://github.com/albfan/miraclecast.git synced 2025-02-12 19:51:54 +00:00
Commit graph

14 commits

Author SHA1 Message Date
Derek Dai
6b5907ad45 Add meson build system
Use it as:

    $ meson build
    $ cd build
    $ ninja build
    $ ninja test
    $ sudo ninja install
2017-04-14 11:32:27 +02:00
Derek Dai
fc6f19d132 pkg_check_modules() before if(CHECK_FOUND) 2016-08-10 16:44:38 +08:00
albfan
42820c00ba Add check cflags on cmake
closes #82 closes #85
2016-07-05 23:13:54 +02:00
albfan
c6d645d720 Fix test suite on cmake 2016-06-30 21:16:32 +02:00
albfan
544758f3d2 cleanup cmake config 2015-04-12 10:34:42 +02:00
Thomas-Karl Pietrowski
026869dd08 typing error "defualt" -> "default" 2015-03-22 16:39:48 +00:00
albfan
2e933497ff cmake configuration 2015-03-13 07:54:19 +01:00
albfan
f884dd858c split monolithic Makefile.am to follow autotools standards 2015-03-08 22:16:57 +01:00
David Herrmann
f6e434e86a rtsp: add rtsp bus
WifiDisplay uses RTSP for stream-setups. This adds a basic rtsp-bus
implementations that we can use for sinks and sources.

Note that the implementation is optimized for usability, not speed. RTSP
is used for control-data, not streaming-data so there's no need to
over-optimize it. In case inlined RTP is used, we still provide proper
speed, even though that's usually not used by WifiDisplay implementations
(due to the TCP requirement).

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
2014-05-08 11:39:02 +02:00
David Herrmann
b5f4870edc test: include sys/socket.h to suppress warnings
We use pipes and socketpairs, so include socket.h.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
2014-05-08 11:07:30 +02:00
David Herrmann
9cb0a092c2 test: add valgrind memory checks
Copy over the "make memcheck" target from libshl. It runs the test-suite
again via valgrind and fails on any valgrind warnings. This is very useful
to find memory-leaks and invalid memory-accesses via the test-suite.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
2014-03-28 12:48:10 +01:00
David Herrmann
729acb64ca test: don't leak sd_event in wpas tests
Correctly free the sd_event object we allocate, otherwise valgrind will
complain loudly.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
2014-03-28 12:46:38 +01:00
David Herrmann
fc02c0aaf6 test: make wpas tests safe to run in parallel
If you run "make check -jX", the test-suites will run in parallel. This
currently works fine, but someone might copy the wpas tests into something
more complex. In that case, the /tmp/XY files will be shared, which breaks
the test-suite. Therefore, use pid-suffixes so these files are exclusive
to the given test-process.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
2014-03-28 12:39:50 +01:00
David Herrmann
b0b53f986c test: add wpas tests
Add extensive test-suite to verify our wpas-helpers work correctly.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
2014-03-19 13:06:11 +01:00