Move QC flow code into PBv3QCFlow
Added a new PBv3QCFlow
class that controls the flow for a single Powerboard. It tracks information about the PB like position and serial number. It also keeps track of what key tests passed or failed, using that information which subsequent tests to run.
It does not save any results to a file. Instead JSON objects corresponding to a test result file are returned by each function. Those can then be decorated with test environment information and saved to the right location by the calling program.
A few tweaks to pbv3_mass_test
:
- Some changes to output that indicates which tests are currently being run.
- Use
PBv3QCFlow
. - Run HV tests only if HV power supply is present.
- Basic tests are run always.
- Advanced flags are controlled using the
--advanced
flag.
Edited by Karol Krizka