In automake you can add tests using the TESTS
variable but these need to be self-contained tests. I need a way to call a standard test driver providing arguments. Is there any way to do this, or to call a standard makefile target during testing?
For example, one of my targets needs to run:
driver.sh suite-a
And another time I need to run:
driver.sh suite-b
It is a hassle to have to add another bash script wrapper each time just to assign to TESTS
. So either I need to add to TESTS
with command line options, or I need a way to add a make target as the test itself.
How can I do this?