Skip to content

Test Server Setup and Config #15

@colbycheese55

Description

@colbycheese55

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

  1. Read in configs
  2. Switch to correct DBC branch
  3. Switch to the correct repo (Rivanna3) branch
  4. Compile
  5. Assemble test suites and run (includes upload)
  6. 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)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Status

Todo

Relationships

None yet

Development

No branches or pull requests

Issue actions