tests: missing Makefile (or equivalent)
Closed this issue · 5 comments
rnsanchez commented
It should greatly assist on testing the code with the inclusion of something like a Makefile for building the test cases. Direct benefits include:
- Making sure the code compiles correctly on supported platforms;
- Making sure the code is functioning (i.e., test cases run as intended);
- Catching regressions early on.
claremacrae commented
A CMake would be ideal for a fair number of users.
rnsanchez commented
Agreed; possibly easier to maintain across multiple platforms.
claremacrae commented
Thanks Jonathan.
I’m not by a computer to be able to test this, but it looks good.
From memory, as a later step, it might be worth calling enable_testing enabling CTest integration.
rnsanchez commented
It worked great; thanks!
(OK by me for closing this issue.)