boostorg / boostorg/gil

Host test images suite for test/extension/io/ tests

Abierto
#462 0 comentarios 0 reacciones 1 asignado Reclamado por @mloskot Ver en GitHub
cat/enhancement test
Lenguaje dominante
C++
Estrellas
199
Forks
171
Merge medio
1 d 14 h
PR fusionados (30 d)
10

Descripción

There is a need for structured and complete test images suite used available for contributors to run the `test/extension/io/` tests. All details can be found in the mailing list thread (link below). Currently, by default, the test actually test little or nothing unless built with defines. We need to get rid of tweaking tests content with compile-time macros:
- `BOOST_GIL_IO_TEST_ALLOW_READING_IMAGES`
- `BOOST_GIL_IO_TEST_ALLOW_READING_IMAGES`
- `BOOST_GIL_IO_USE_PNG_TEST_SUITE_IMAGES`

and ensure that if tests run, they do always exercise the test I/O, unconditionally.

First thing to achieve that is to maintain collection of test images for I/O tests, similarly to, for example, [Julia test images](https://github.com/JuliaImages/TestImages.jl).
The images could be hosted in dedicated repo https://github.com/boost-gil/test-images, bundled in Zip archives for efficient download by a dedicated script.

### References

- [[IO] Hosting test images](https://lists.boost.org/boost-gil//2019/07/0279.php) discussion on boost-gil list
- Requires task #461

### Tasklist

- [ ] Collect all images
- [ ] Script downloading archives and deploying images where expected.
- [ ] Configure CI builds running the full I/O tests.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.