> You might write a script that generates both the tests and their > list, and have this list included in the Makefile.am. Automake's > own build system do something similar in its bootstrap.sh script: >
With this solution, the user cannot chose at runtime a certain number of tests he wants to run. The only way to do that would be to generate again the list of test files and recreate a Makefile. Well, I suppose in general all the tests are run at once. But what if you have 200 tests, and only want to run the first 100 ? -- Alexis Praga