The /usr/src/tools/tools/build_option_survey/ has received very little attention since 2006 yet remains a very useful tool. It performs repeated buildworlds and installworlds with each build option (i.e. WITHOUT_TELNET) and optionally displays the results in HTML format. All options can be viewed by running 'sh sh listallopts.sh'.
Usage:
sh option_survey.sh (wait several days)
sh mkhtml.sh (Which calls reduce.sh) to generate HTML output
View the results in /usr/obj/usr/src/tools/tools/build_option_survey/HTML/
Bugs fixed:
Increased (and tested) disk image size to accommodate modern FreeBSD. 250M -> 4GB
Removed upload to server "phk" in mkhtml.sh
Features added:
time(1) support for builds with reporting for buildworld in HTML output
Links to 'showconfig', 'buildworld' and 'installworld' logs in HTML output for easier debugging
Moved from md5 hash directory naming to actual build option naming
Refinement: Simplified HTML and reporting
Tested on FreeBSD 12.0-ALPHA1
Needs testing: Syntax to preserve the reference build