Deprecate add_test(testname) signature
The old add_test
signature is loose and accepting. It is also less featureful (e.g., generator expressions in places). This can result in things such as ExternalData_add_test(NAME foo)
being incorrectly accepted (here, NAME
is the ExternalData target, not an argument to add_test
) that cannot be diagnosed.