test

package
v0.0.0-...-914764d Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2022 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadResultsFile

func ReadResultsFile(path string, tr *TestResults) bool

Types

type CompilationResult

type CompilationResult string
const (
	PASS CompilationResult = "PASS"
	FAIL CompilationResult = "FAIL"
)

type TestResult

type TestResult struct {
	Version       string            `json:"version"`
	Architectures []string          `json:"architectures"`
	FQBN          string            `json:"fqbn"`
	Core          string            `json:"core"`
	CoreVersion   string            `json:"core_version"`
	Result        CompilationResult `json:"result"`
	Log           string            `json:"log"`
	Examples      []exampleResult   `json:"examples"`
	NoMainHeader  bool              `json:"no_main_header"`
}

type TestResults

type TestResults struct {
	Name  string       `json:"name"`
	Tests []TestResult `json:"tests"`
}

func TestLib

func TestLib(libPath string, tr TestResults, force bool, instance *cliclient.CliInstance) TestResults

func TestLibByName

func TestLibByName(libName string, tr TestResults, force bool, instance *cliclient.CliInstance) TestResults

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL