boostorg / boostorg/gil

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

Aperta
#462 0 commenti 0 reazioni 1 assegnatario Rivendicata da @mloskot Vedi su GitHub
cat/enhancement test
Lingua principale
C++
Stelle
199
Fork
171
Merge medio
1g 14h
PR unite (30g)
10

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.