package
0.0.0-20230226003218-1dd1f65bfa42
Repository: https://github.com/c4-project/c4t.git
Documentation: pkg.go.dev
# Packages
Package compilation contains types and functions for dealing with 'compilations': subject/compiler products.
Package corpus concerns test corpora (collections of named subjects).
Package normaliser provides utilities for archiving and transferring plans, corpora, and subjects.
Package normpath contains various 'normalised path' fragments, and functions for constructing them.
Package obs concerns 'observations': the end result of running a test on a particular machine.
No description provided by the author
# Functions
New is a convenience constructor for subjects.
NewOrPanic is like New, but panics if there is an error.
Options combines the options os into a single option.
WithCompile is an option that tries to preload a compile result for compiler ID cid onto a subject.
WithFuzz is an option that sets the incoming subject's fuzzer record to fz.
WithRecipe is an option that tries to preload a recipe for architecture ID arch onto a subject.
WithRun is an option that tries to preload a run for compiler ID cid onto a subject.
# Variables
ErrDuplicateCompile occurs when one tries to insert a compile result that already exists.
ErrDuplicateRecipe occurs when one tries to insert a recipe that already exists.
ErrDuplicateRun occurs when one tries to insert a run that already exists.
ErrMissingCompilation occurs on requests for compile results for a compiler that do not have them.
ErrMissingCompile occurs on requests for compile results for a compiler that do not have them.
ErrMissingRecipe occurs on requests for recipe paths for an arch that do not have them.
ErrMissingRun occurs on requests for runs for a compiler that do not have them.
ErrNoBestLitmus occurs when asking for a BestLitmus() on a test with no valid Litmus file paths.
# Type aliases
Option is the type of (functional) options to the New constructor.