-
Notifications
You must be signed in to change notification settings - Fork 4
canonical/iot-auto-sanity
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Install the auto-sanity tool
1. pip3 install -U pip
2. pip3 install .
Program your own tplan yaml
example:
##############################
config:
project_name: x8high-pdkv2
username: target device user account
password: target device user password
serial_console:
port: /dev/ttyUSBxxx
baud_rate: baud rate, support[115200, 9600, 921600]
network: target device interface
extra-recepients: ["yourmail@mail.com"]
run_stage:
- sys_commands:
- first command to control PC
- second command to control PC
- deploy:
utility: deploy method, we currently support [utp_com, uuu, seed_override, seed_override_lk]
method: create account method, we currently support [cloud-init, system-user]
- eof_commands:
- first command to target device
- second command to target device
- checkbox:
snap_name: checkbox name
launcher: launcher file name
secure_id: device secure id on C3
submission_description: "describe your test purpose"
###############################
Run test
auto-sanity --sanity-launcher <your tplan>
About
An auto sanity tool for arm ubuntu-core
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published