model-checking / cbmc-viewer

CBMC Viewer scans the output of CBMC and produces a browsable summary of its findings, making it easy to root cause the issues it finds.
https://model-checking.github.io/cbmc-viewer/
Apache License 2.0
32 stars 11 forks source link

Fix jinja sorting of coverage results. #9

Closed markrtuttle closed 4 years ago

markrtuttle commented 4 years ago

This patch replaces the comma-separated shortcut sort(attribute="attr1,attr2") with the long form sort(attribute="attr2")|sort(attribute="attr1"). The shortcut used to work, but now fails with "No such attribute 'attr1,attr2'" in spite of the sort documentation.

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.