testsuite: Ensure that makefile_tests are run
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 #16042 (closed)) and has meant that some tests have gone
silently un-run in the past. We now ensure that such tests are run by using all
ways as the list of candidate ways for