Commits
- Performance Tests for changing composite mode: f51bed9981b0a527ee15cb3cd597c58fe4063a15
- removed html output pylintrc files: 8ffb62ad58a40c3052c2e539b0ae91b7ce0c838b
- performance tests for get_preview_ports: 9038c5d0b26682526c93a5877a1e691530a49311
- Performance Tests: d48a3f6e70ca26d937db284cdb2313e4b0ec951a
- Changed hooks: 342e7d486039d22d6ee08c4bbd847d5aa30ae64a
- Changed hooks: ab8d1f8888a1fbc3763974fb9947fb3bfa35008a
- Added performance tests: b8ab13270cbabc00962675b0409beaa664fece13
- Added performance tests: 5581fc9d4fa6196f6b6de7a91617791d2dfabc14
- modified Makefile: ef31078ac60d820ce78d50ffba295bd8a044e48a
- modified Makefile: c0a837193bd702dc8da2f7f7a07379ae8e5c1122
- updated Makefile: 14f155b3778f68bc6011a460af31510d85740aa9
- Added hooks for pep8 and lint checks: cd2f41a5c278935691783ead3d1668cbfb51039c
- testing hooks: ddd62bd51dd13b65074fc2a93fb6e09e3145bcfb
- modified rst format sphinx: 38bf39aa56954bad932682ed67087684b300c282
- updated sphinx docs: 23dd1f754afa19996c0a3e12d4e443e75368648e
- pep8 checks along with py.test: 251557f4ea773ba51b60bcb64da587602338cb72
- pep8: d368e28e32abae48fddfd1a1d0318c603362f518
- pep8 clean code unittests: 164789db58b29c02da159152d92097b9cece956b
- Add pylint to dependencies: 16541955ee819c5e787070b9a8257edd92a68f54
- updated gitignore: 06647c8788bbcd62498dea7467f52f1dbcb8b278
- updated gitignore: 0c4e1bd5e4cdad01c5efae7c310ccf62f186afa6
- pep8 gstswitch code: 612a2ad6252de514fef9753530ef79f0dbaef4e2
- Makefile: added lint to tests: 5e76be08ead847eafcf8aa29f494f2c410c0e5c8
- Raising error if lint fails: 7582acb5e7c6be3b5a7db834b4efca5f43b47181
- lint and docs for test_server.py: c1dcec794d3265993f16977b0e7f1a38690d4a56
- linting and docs test_helper.py: 1b0cf382d1913aee0d65ba5e9caa1a373fe3d270
- updated .gitignore: 68e0553483fbb34c60bfc3811c09934245a425c1
- removing gcov files before test: b73945f8882bb08b9ae3655b57f1e31dffcccf48
- removing gcov files before test: 9ee5db3159d4af5b00c26df0dd009eec5eccd329
- removing gcov files before test: c6b9d492b4433db7da9e92d606d4257dfa621b52
Things done in past few days:
-
Integration tests for
mark_tracking
-
Sphinx Docs: A lot of modules had errors. The most common problem is
ImportError
because sphinx is unable to find the modules in PYTHONPATH. Thus, these modules need to be mocked. I have a directory fake-lib which has all these mocked modules. This fake-lib has to be added to the PYTHONPATH in the conf.py file. The docs are at http://gst-switch.readthedocs.org/en/latest/ -
Imgur Frame Upload: For testing in travis, I am uploading the key frames that are generated to imgur. For example in this build the output key frames are: img1(before PIP change) and img2(after PIP change).
So there are two main problems with the build process -
- An unknown dependency
- Gstreamer's python binding dont produce a
videotestsrc
output. Maybe a problem with the typelibs.
- Modified the controller tests: The controller tests were too heavy causing them to be unreliable at times. Now they are perfectly reliable.
- Docs: Added docs for all modules and classes.
- Linting: All code is pylint clean. The corrosponding pylintrc files are present. These files contain the excluded warnings and errors. Can be done by
make lint
- pep8: All code is pep8 clean. Can be done by
make pep8
- pre-commit hooks: Added pre-commit hooks which will run lint on C code and pylint and pep8 on python code. It will not commit unless these tests pass.
- Build failures: If any of the tests (lint, pep8, unittests) fail, the build fails and the repository is flagged red.
- Performance Tests: These are extreme torture tests. I run it on my system alone and not on travis. All of these tests are not meant to pass, some failures are expected. Currently the tests include things test cases where I call the
get_compose_port
method N number of times, where i vary N in [100, 200, 300, 400, 500]. The test mostly fails at the 500 mark. One test case tests changing the PIP mode after some delay. I vary this delay like [1, 0.6, 0.5, 0.2] in seconds. On my system, below 0.6, i.e for test cases 0.5 and 0.2 the test fails.
Comments Section
Feel free to comment on the post but keep it clean and on topic.
blog comments powered by Disqus