2020-06-08 03:01:58 -04:00
|
|
|
# Release testing
|
|
|
|
|
|
|
|
## Unit tests
|
|
|
|
|
|
|
|
Run unit tests (`make && make test`):
|
|
|
|
* In each multimedia configuration (`ffmpeg`, `oiio`, `none`)
|
2020-06-14 17:39:58 -04:00
|
|
|
* With `LANG` set to `fr_FR.UTF-8` (to test comma as decimal separator)
|
|
|
|
* With `LANG` set to `C` (to test ASCII mode, necessary for debuilder)
|
2020-06-08 03:01:58 -04:00
|
|
|
* All must pass
|
|
|
|
|
|
|
|
## Manual tests
|
|
|
|
|
|
|
|
Run, using `valgrind --tool=memcheck --leak-check=full`:
|
|
|
|
* `notcurses-demo` in each of the three multimedia configurations
|
|
|
|
* `notcurses-demo` with `USE_QRCODEGEN=off`
|
2020-06-09 04:46:54 -04:00
|
|
|
* `notcurses-demo` in ASCII mode (`export LANG=C`)
|
2020-06-08 03:01:58 -04:00
|
|
|
* `notcurses-input`
|
2021-01-18 14:22:54 -05:00
|
|
|
* `ncplayer` with each scaling mode and an image + video, in three
|
2020-06-08 03:01:58 -04:00
|
|
|
terminal geometries: square, tall, wide
|
|
|
|
* `notcurses-demo` with margins
|
|
|
|
* `notcurses-demo` with FPS plot and HUD up
|
2021-01-21 03:51:12 -05:00
|
|
|
* Play a game of `nctetris`
|
2020-06-08 03:01:58 -04:00
|
|
|
* Run each PoC binary, including `ncpp_build` and `ncpp_build_exceptions`
|
2021-04-04 00:04:56 -04:00
|
|
|
|
|
|
|
Bitmap tests; all must be done in both Sixel and Kitty environments:
|
|
|
|
* `ncplayer -bpixel`, make sure frame count/time is always visible
|
|
|
|
* `ncplayer -bpixel`, make sure we can switch to cells and back
|
|
|
|
* `ncplayer`, make sure we can switch into pixel and back
|
|
|
|
* `notcurses-demo k`, make sure bitmaps are deleted
|
|
|
|
* `notcurses-demo y`, make sure yield is always visible
|
|
|
|
All of these need to work without flicker.
|