Add JSONOutput.add_warning, and fix output to sort keys.

Review Request #12172 — Created March 17, 2022 and submitted

chipx86
RBTools
master
rbtools

This adds JSONOutput.add_warning(), which is similar to
JSONOutput.add_error(), but works with a warnings key.

It also fixes JSON outputting to sort keys, so that there's always a
consistent set of results, rather than dealing with dictionary sort
order.

Documentation and some code has been cleaned up to better fit our
standards.

Unit tests pass.

Tested add_warning() with an upcoming change to rbt patch.

Summary
Add JSONOutput.add_warning, and fix output to sort keys.
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-3.x (d23fd0d)
Loading...