Regression: FTWS version V20.09.00 prints incorrect JSON files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Firmware Test Suite |
Fix Released
|
High
|
Colin Ian King |
Bug Description
FWTS as of V20.09.00 incorrectly places a trailing comma at the end of collections:
./fwts -q -r stdout --log-type=json
{
"fwts":[
{
"heading":[
{
},
{
},
<...>
The trailing comma in "log_text":"Results generated by fwts: Version V20.09.00 (2020-09-17 18:08:13).",}" is incorrect. It doesn't pass jsonlint and breaks python json parsers.
This was not the case with V20.03.00:
{
"fwts":[
{
"heading":[
{
},
{
},
Changed in fwts: | |
status: | Fix Committed → Fix Released |
This regression occurred with the json back-end changes. I'll sort this out for the next release.