tests: Add an option to disable building tests
Users who don’t care about running tests can now pass -Dtests=false when building Weston, reducing the number of ninja targets from 327 to 228, and build time from 4.8s to 3.3s on my laptop.
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
Users who don’t care about running tests can now pass -Dtests=false when building Weston, reducing the number of ninja targets from 327 to 228, and build time from 4.8s to 3.3s on my laptop.