Commits
- relaxing image comparison factor, modified build process: cebbb8accbfc821e4d156bfbc4185f873e8969ab
- printing ffmpeg output: 18ba4174afb68f00906d2eb0c431e17bf85cc4a3
- fixed reference frame path: 37dc95893949b021c3e8d1cce15baa4e522ca87d
- Pushing - doing linting: ec5705bfe40ad1136faaa714653d43cc43737465
- add ffmpeg to dependencies, lint and docs for server.py: c6c05391136d1282d0342df196aa77d149e389cd
- lint and docs for helpers.py: ae6a2b2cc3e87b57ba81dadc383d003b3d3265bc
- provided bus_name for precise GDbus: 1ad1c6b93381443987f6d16fa6305b5e7d1b5c80
- lint corrected: 562daf9fb7494f20f6116df4f32b76e620ef8a9e
- updated gitignore: ab946ebc307e888ae61b1605760dfb3be4e4c588
- lint and docs for connection.py, modified travis scripts: f22fcbbb1f13810a692790f3ac44badb3973c2e8
- lint and docs - controller.py: 808797d2ae8a5373a3d81cf4c5f4f6fbc1b926b0
- Renamed unittest files, include tests in linting: b5fc7ef741ff700bae4aa8e639d80ea11f22b999
- unittests for make coverage: 653e3c4d370475fb9d8f22c209929be91c31507e
- running coveralls only in root dir: 1f3a4b465b221310ec092e8644e600f8202116eb
- pushing output to pastebin: 218e07ed47d390a986f72c042de3fe21f68d54d7
- corrected setup of coveralls: 7616b5597c30e044478e257407ee89e20a3878a4
- correcting excludes: b0d6f72e4733bb8eb9f3a167c78290d88a941b41
- printing repr coverage: b38ef9f54981a63005558fc469f537326e53a1f2
- excluding libs from gcov: a453f875c4a5aa0be6d0977d609b493b15926418
- checking encoding of files: b6230be1fade5174ba9e336a58168579d8d263f4
- modified conf.py for sphinx: 669c9c72ff65a98b51469b11f59bf93d3c432ba2
- modified conf.py for sphinx: 9fa90a562360fcd8e3b42280af7df77a089670f4
- fixed cd problem: 77667143e9f3f6eef73c8413ef29926ef5caf989
- mock objects for docs: ea7746c869fd124962f31239ceb67a1a5bb21c15
- made a fakelib: 78446ea712cdfe88bd62b61b216012a35ec228a3
- testing new travis: 603d5427d8d0cc4541f5d03276f901b336736fc6
- testing new travis: e5adc59c8ca3bc714d50b97c4f8151bac88506fd
- testing new travis: 687baa3270ac31f7538eb39f5bafe87520906f78
- gcov now generated in .gcov files in tools directory: 2ae929f719e0a26baa9644a0b28594b3c05c838b
- flushing when killing: cc7013028e698d6c1b6f71c5297860d428c00690
Thinsg done:
-
Coverage of c files: The
terminate()
andkill()
methods to the server now have a parameter cov. Setting its value as True, leads to dumping of coverage data in the tools directory (alternatively environment variable GCOV_PREFIX can be set to dump it elsewhere). Internally the gst-switch-srv calls__gcov_flush()
when it receives the signal SIGUSR1. This signal can also be sent likekillall -USR1 gst-switch-srv
. Note that sending SIGUSR1 does not kill the server. Everytime the coverage data is dumped in the form of .gcda files,make coverage
is run. This turns it into .gcov files. The gcov files can be appended together unlike gcda files. Thus results of multiple runs of gcov can be seen by runningmake coverage
after each run. - Enabled documentation at readthedocs: http://gst-switch.readthedocs.org/en/latest/
-
Setup coveralls for C code: Coverage of C code over coveralls is done through cpp-coveralls. However, just running the command
coveralls
was a problem. Running it caused it to search for all .o files including the ones generated by gstreamer and gst-plugins which were installed earlier. These files had some strange characters like /0xe9 which gave aUnicodeDecodeError
internally. The problem was solved by specifying the exact root directory where to find the coverage data (i.e tools directory) using the -r option. The overall coverage is at https://coveralls.io/r/hyades/gst-switch -
Precise builds: Precise has Gio modules different from Quantal. My machine is quantal, thus running it in precise gave
TypeError
. In mycall_sync
function, I was givingbus_name
aNone
value. This had a problem in Precise since it does not allow None values. Providing this value solved the issue. - Liniting the code
Current Issues
Even though the build runs on travis, some parts need attention.
- Unittests had 100% coverage
- 6 out of 13 integration tests Failed
-
Running gst-switch-srv gave an error
./tools/gstworker.c:270:error: missing: faac ./tools/gstworker.c:784:error: recorder: failed to create new pipeline
- Seems an issue with the libvpx installation.
Comments Section
Feel free to comment on the post but keep it clean and on topic.
blog comments powered by Disqus