Skip to content

Produce two separate files for powerboards with two AMACs

Ben Bruers requested to merge bbrueers/powertools:produce2FilesR3 into activeTB

The end-cap R3 powerboard has two AMACs. So far, the results for the two AMACs were stored in one file, with the results from the second AMAC highlighted by an _AMAC1. The original intention was to upload the json as one test for one powerboard.

In discussion with the module ACs and the relevant colleagues, it has been decided to upload two separate tests for the two AMACs of the R3 powerboard. To facilitate this, this MR modifies pbv3_mass_test.cpp to produce two separate json files for the AMACs when running on a powerboard with secondary AMACs (as the R3). This has been tested and works well.

The MR also adds a field to the json called isFromSecondaryAMAC. It is only defined if running on a PB with two AMACs and then set to false for the primary and to true for the secondary AMAC.

Tagging @kkrizka for comments.

Merge request reports

Loading