Skip to content

require institution in config file

Zhicai Zhang requested to merge zhicaiz/powertools:zz_add_institution into activeTB

To make the the test result file to be precise, the pbv3_mass_test program now requires user to specify institution as an argument.

For the firmware GUI config file, we should add an "institution" item to be "" in the GUI config:

{
    "version": 0.1,
    "username": "admin",
    "password": "test",
    "fwdir": "/media/sd-mmcblk0p1",
    "institution": "",
    "panels": [
        {
            "name"      : "Powerboard Reception Testing",
            "runner"    : "PowertoolsRunner",
            "equipconf" : "/etc/powertools/equip_testbench.json",
            "datadir"   : "/data/testruns"
        }
    ]
}

And pass this to the mass test program in the GUI. We'll also add a button in the GUI to change this parameter (see this commit). After people update to this firmware, by default, the program will not work unless they change the institution to something else with the button.

Edited by Zhicai Zhang

Merge request reports

Loading