[BUG #7279] avoid compile-time lint checks for framework test/api

- doing the compile-time lint checks when building the framework's testrunner/
  apiviewer checks all involved framework classes
- this slows down building of these two developer tools, which hurts as
  they are often built when developing framework classes
- the nightly builds run a more exhaustive 'generate.py lint' on the framework
  classes anyway
- so there is no need to have framework classes checked building these
  two developer tools