build: add option to disable tests
When building for a product, tests are not usually needed.
So, add an option to configure to disable building tests altogether.
When building for a product, tests are not usually needed.
So, add an option to configure to disable building tests altogether.