Update main.py to run the server, and create hil_config.json in Rivanna3 to configure the server's behavior. Main should accept 2 CLI args: the name of the repo to test, the branch of the repo.
main.py
- Read in configs
- Switch to correct DBC branch
- Switch to the correct repo (Rivanna3) branch
- Compile
- Assemble test suites and run (includes upload)
- Convert XML report file to HTML, try this library
hil_config.json
- upload command, including a placeholder for the board (ex.
python3 upload.py %BOARD%)
- which DBC submodule branch to use (the current repo will always be
main)
- compile command
- which boards to test (meaning which directories to look into)
Update
main.pyto run the server, and createhil_config.jsoninRivanna3to configure the server's behavior. Main should accept 2 CLI args: the name of the repo to test, the branch of the repo.main.py
hil_config.json
python3 upload.py %BOARD%)main)