testsuite: Warn if tests will never be run

Authored by bgamari on Dec 16 2018, 9:47 AM.


Trac Issues

We currently use the test's func to determine whether it is a compile-time or a
run-time test. This means that run_command tests and the like are considered to
be neither run-time nor compile-time tests and only get run in the normal way.
This is quite surprising (see Trac #16042) and has meant that some tests have gone
silently un-run in the past. Warn when this happens.

Frankly, this design is a bit unfortunate but changing it is a bit more work
than I have time to invest at the moment.

Test Plan


bgamari created this revision.Dec 16 2018, 9:47 AM
bgamari retitled this revision from testsuite: Ensure that tests to testsuite: Warn if tests will never be run.Dec 16 2018, 10:17 AM
bgamari abandoned this revision.Jan 20 2019, 6:10 PM

Moved to GitLab.