Commit Graph

7 Commits

Author SHA1 Message Date
73ffd26094
Kivy dependencies downgrade
- also fixes video recording
- tests are flakey but sometimes pass
2024-03-28 21:02:02 +08:00
09cc100424
Update resolution and fix format 2022-09-20 16:20:59 +05:30
b8cebf0392
Update resolution of test video recording 2022-09-12 12:33:24 +05:30
6dee19fe26
ffmpeg be quiet
- otherwise buildbot won't let tests timeout
2022-08-19 18:47:22 +08:00
8214c74487
Code quality issues with kivy upload 2022-08-10 11:15:21 +08:00
e5e9955cd9
Record telenium/kivy video
- add a ffmpeg process to kivy tests if it detects running inside docker
- this approach can be reused for other tests that may benefit from a
  video
- it may be possible to do this in bash, outside of python, but that
  would exacerbate the process synchronisation issues, as outlined here:
  - X server must be running before ffmpeg starts, otherwise ffmpeg
    can't record and quits
  - ffmpeg must end before the X server ends, as otherwise it segfaults
    and video will be incomplete
  - ffmpeg must start before the actual tests start and stop after the
    tests stop, otherwise a part of the tests will be missing from the
    recording
- this approach I chose here avoids most synchronisation issues.
  If ffmpeg takes more than 2 seconds to start recording (unlikely), a
  part of the video will be missing. Also if for some reason ffmpeg is
  too slow, then also we may end up with a truncated video, at the end.
- I chose lossless vp9 codec with webm format, this appears to work on
  firefox and chrome. Safari refuses to show the video even though it
  should be supported.
2022-08-09 22:35:55 +08:00
cis
eb85efe3e5
pybitmessage kivy app test cases and test script 2021-07-20 15:06:27 +05:30