#126: Speed up tests --------------------------+------------------------------------------------- Reporter: levill_r | Owner: Olena Team Type: enhancement | Status: new Priority: major | Milestone: Olena 1.0 Component: Milena | Version: 1.0 Resolution: | Keywords: --------------------------+------------------------------------------------- Description changed by levill_r:
Old description:
Some tests take a very long time to execute. Main causes are:
- input image(s) are too big [[BR]] => they should be reduced
(sometimes, testing on `lena.pgm` is just too costly);
- the default, non-optimized compilation settings (`-O0 -ggdb`) produces
very inefficient code for certain algorithms [[BR]] => we should locally increase the level of optimization (e.g., `-O1` or `-O2`) for these tests, and '''document''' this in `Makefile.am` (explain why we made changes in `CXXFLAGS` for a given test).
We might want to make a list of lengthy tests here before solving this ticket.
New description:
Some tests take a very long time to execute. Main causes are: * input image(s) are too big [[BR]] => they should be reduced (sometimes, testing on `lena.pgm` is just too costly); * the default, non-optimized compilation settings (`-O0 -ggdb`) produces very inefficient code for certain algorithms [[BR]] => we should locally increase the level of optimization (e.g., `-O1` or `-O2`) for these tests, and '''document''' this in `Makefile.am` (explain why we made changes in `CXXFLAGS` for a given test). Moreover, we should not use hard-coded flags, but rely on `configure` to discover (test) them.
We might want to make a list of lengthy tests here before solving this ticket.
--