On 11/20/2012 03:58 PM, Alexis Praga wrote: >> 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. > Why not? I do that in Automake all the time:
$ make check TESTS="..." > The only way to do that would be to generate again the list of test files > and recreate a Makefile. > No, overriding TESTS at runtime is enough (and it is a very important and prominently documented feature). HTH, Stefano