runner

package
v0.0.0-...-14868f9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 7, 2021 License: AGPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Config struct {
	RunnerID string `mapstructure:"runner_id"`
	Wiring   []string
	Devices  []Device
	DB       lib.DBConfig
}

Functions

func LoadConfig

func LoadConfig(path string) error

func MatchDevice

func MatchDevice(skreq *SketchRequirements, dev Device) bool

func RunTest

func RunTest(test *Test, devices []Device) error

Run runs a test package on the given board

Types

type Device

type Device struct {
	FQBN     string
	Port     string
	Features []string
}

func AssignDevices

func AssignDevices(test TestRequirements) []Device

AssignDevices returns an ordered list of devices satisfying the requirements of the test.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳