WIP: Recommission DB upload via script and GUI.
Changes to upload code
- Move
uploadPWBTests.pytopbv3_upload_tests.pyand add to setup. - Move uploading code to a
pbv3_upload_tests.upload_test_result_filefunction. - Revamp how
CONFIGversioning is done. The DB now tries to match an attached config file against existing entries in the DB. If properties match up, then the major version is used. If the parameters also match up, the minor version is used. If one of them does not match, then the next available number is used for that field. - Add
--institutionoption topbv3_upload_tests.
Changes to GUI
- Add
pbv3parser.ResultsParserthat looks for result files in the output and stores them in a list. - Add
testing.uploadResultsthat uploads the results from the current tab. Results are specified byself.panel.results(instance ofpbv3parser.ResultsParser). - Add
dbupload-buttonthat callsuploadResults. - Differentiate
errorvsdonestates for a test process based on return code. - The
dbupload-buttonis enabled only when a test reaches thedonestage.