How do you create tests for “make check” with GNU autotools
To make test run when you issue make check, you need to add them to the TESTS variable Assuming you’ve already built the executable that runs the unit tests, you just add the name of the executable to the TESTS variable like this: TESTS=my-test-executable It should then be automatically run when you make check, and … Read more