autfilt: add options to filter by SCC count and types

* bin/autfilt.cc: Implement those options.
* NEWS: Mention them.
* doc/org/randaut.org: Add a quick example.
* tests/core/strength.test: Add some basic tests.
* tests/core/acc_word.test: Adjust options abbreviations.
This commit is contained in:
Alexandre Duret-Lutz 2016-04-21 16:44:24 +02:00
parent b79e307258
commit e50ff35d0f
5 changed files with 165 additions and 5 deletions

View file

@ -49,8 +49,8 @@ randltl -n -1 a b | ltlfilt --simplify --uniq \
diff out expect
# Test syntax errors
autfilt --reject='foobar' </dev/null 2>error && exit 1
autfilt --accept='cycle{foo' </dev/null 2>>error && exit 1
autfilt --reject-w='foobar' </dev/null 2>error && exit 1
autfilt --accept-w='cycle{foo' </dev/null 2>>error && exit 1
cat error
cat >expect <<EOF
autfilt: failed to parse the argument of --reject-word: