Skip to content

canonical/iot-auto-sanity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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]
            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

No packages published

Languages