correct handling of --stats=%P

Fixes #236.

* bin/common_aoutput.cc: Fix it.
* tests/core/format.test: Improve test cases.
* NEWS: Mention the bug.
This commit is contained in:
Alexandre Duret-Lutz 2017-02-28 16:39:54 +01:00
parent 905af90459
commit e0d3291881
3 changed files with 17 additions and 6 deletions

3
NEWS
View file

@ -11,6 +11,9 @@ New in spot 2.3.1.dev (not yet released)
- The tests using LTSmin's patched version of divine would fail
if the current (non-patched) version of divine was installed.
- Because of a typo, the output of --stats='...%P...' was correct
only if %p was used as well.
New in spot 2.3.1 (2017-02-20)
Tools: