cltest

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LanguageOf

func LanguageOf(lang cl.Language) string

LanguageOf returns the string representation of the specified programming language.

func MockNameLookup

func MockNameLookup(manglingName string) (archivePath string, ok bool)

MockNameLookup is a mock implementation of the NameLookup function. It returns a fixed archive path and true for any input.

func TestFromDir

func TestFromDir(t *testing.T, sel, relDir string, testFunc func(t *testing.T, pkgDir string))

TestFromDir runs testFunc for each subdirectory of relDir. If sel is not empty, only subdirectories whose path contains sel will be tested.

Types

type Config

type Config struct {
	LLGoPackage    string   `json:"LLGoPackage"`
	WrapFileHeader string   `json:"WrapFileHeader"`
	CFlags         string   `json:"CFlags"`
	Files          []string `json:"Files"`
	KeepDoc        bool     `json:"KeepDoc"`
}

Config represents the lltest configuration.

func LoadConf

func LoadConf(filename string) (conf Config, err error)

LoadConf loads the lltest configuration.

Jump to

Keyboard shortcuts

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