summaryrefslogtreecommitdiff
path: root/i18nlangtag
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2016-12-07 22:00:12 +0200
committerTor Lillqvist <tml@collabora.com>2016-12-08 00:09:47 +0200
commit472c07ca0dfd87602cd6199fa4d1d756f17edf14 (patch)
treebdec09effd2c2fc75b7fb4aeccda78d72a0743b7 /i18nlangtag
parent1b6545d21815e8a033699ed5d6a49c80ea635949 (diff)
Introduce configure option fuzzing
When --enable-fuzz-options is given, those --enable or --with options that are separately so marked, and have not been specified explicitly at the configure command line (i.e. typically from autogen.input), are randomly set to either yes or no. This functionality is useful to make sure configure options don't bit-rot by randomly exercising uncommon settings and combinations. To enable fuzzing for an option, use libo_FUZZ_ARG_WITH instead of AC_ARG_WITH, or libo_FUZZ_ARG_ENABLE instead of AC_ARG_ENABLE. Also handle two cases of incompatibilty of options discovered by using --enable-fuzz-options. In general using incompatible options should cause an AC_MSG_ERROR(), but when one of the options in question has been set by fuzzing, it's simplest to just reset it to the compatible value. Obviously this is highly experimental. Change-Id: I76d250c148892951a7fda25ba4164de8bc693a26
Diffstat (limited to 'i18nlangtag')
0 files changed, 0 insertions, 0 deletions