| no, as long as this statement is compiled .. the rpmlint-tools are grepping the
compiler output and so no package could be created. I could tweak the rpmlint
tool for this case, but the price is, that all (often usefull) warnings/errors
are also disabled.
I saw, that this is a test-case only, so its not a show-stopper at all. We
make only the compiler and tools happy ...
Perhaps a configure option to allow a user to compile the test-features and if
not set/defined those tests are #ifdef'ed and not compiled ?
e.g. ./configure --enable-tests ...
| |