[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNUism in groff tests, was: pic anomalies
From: |
Werner LEMBERG |
Subject: |
Re: GNUism in groff tests, was: pic anomalies |
Date: |
Tue, 31 Dec 2019 15:34:17 +0100 (CET) |
> A framework helps with none of that. But a framework can easily be
> so heavy that it distracts from the actual job. Certainly, we don't
> need a framework without content.
I think the proper way for testing groff would be to make it run with
a fuzzer, using some very simple and small input files. If a bug gets
found, we have a new testcase (which is automatically stored and used
by the fuzzer for more tests). Additionally, such a fuzzer framework
also shows the covered code, and by injecting specially crafted test
examples more unused code paths can be activated (and automatically
tested).
Later on, if there is a good code coverage, the available test samples
might be analyzed to check whether they are producing correct output.
Take FreeType as an example; see
https://github.com/freetype/freetype2-testing/tree/master/fuzzing
(this was a successful GSoC project). Note that FreeType doesn't have
(yet) tests for checking the validity of its output; right now this is
done by the Chromium project, which also contains a large framework
for checking rendering differences.
Does the Debian project have a fuzzer framework to which groff could
be added? Or maybe someone could try whether Google is going to
accept groff in the 'OSS-Fuzz' project...
Werner
- Re: GNUism in groff tests, (continued)
- Re: GNUism in groff tests, was: pic anomalies, John Gardner, 2019/12/30
- Re: GNUism in groff tests, was: pic anomalies, Larry McVoy, 2019/12/30
- Re: GNUism in groff tests, was: pic anomalies, G. Branden Robinson, 2019/12/31
- Re: GNUism in groff tests, was: pic anomalies, Ralph Corderoy, 2019/12/31
- Re: GNUism in groff tests, was: pic anomalies, Ralph Corderoy, 2019/12/31
- Re: GNUism in groff tests, was: pic anomalies, John Gardner, 2019/12/31
- Re: GNUism in groff tests, was: pic anomalies, Ingo Schwarze, 2019/12/31
- Re: GNUism in groff tests, was: pic anomalies,
Werner LEMBERG <=
- Re: GNUism in groff tests, was: pic anomalies, Ingo Schwarze, 2019/12/31
- Re: GNUism in groff tests, was: pic anomalies, G. Branden Robinson, 2019/12/30
- Re: GNUism in groff tests, was: pic anomalies, Ralph Corderoy, 2019/12/31
- Re: GNUism in groff tests, was: pic anomalies, Ingo Schwarze, 2019/12/31
- Re: GNUism in groff tests, was: pic anomalies, John Gardner, 2019/12/31
- Re: GNUism in groff tests, was: pic anomalies, Ralph Corderoy, 2019/12/31
- Re: GNUism in groff tests, was: pic anomalies, Ingo Schwarze, 2019/12/31
- Re: pic anomalies, Ingo Schwarze, 2019/12/30
- Re: pic anomalies, Ralph Corderoy, 2019/12/30
- Re: pic anomalies, Colin Watson, 2019/12/30