testenv

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2026 License: MIT, MIT Imports: 16 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package testenv decides whether tests that need tools or libraries from the dev shell skip or fail when they are missing, and gives tests directories short enough to hold Unix sockets.

Index

Constants

View Source
const HangLimit = 30 * time.Second

Variables

This section is empty.

Functions

func CloseDriver

func CloseDriver(closeDriver func() error) error

func CursorTheme

func CursorTheme(t testing.TB) *xcursor.Theme

func Font

func Font(t testing.TB) *gtext.Typeface

func GPU

func GPU(t testing.TB) *gpu.Library

func Keymap

func Keymap(t testing.TB) *xkb.Keymap

func Library

func Library(t testing.TB, name, path string, err error)

func OpenDMABUFs

func OpenDMABUFs(t testing.TB) int

func Require

func Require(t testing.TB, binary string) string

func SocketDir

func SocketDir(t testing.TB) string

func UdevRecord

func UdevRecord(t testing.TB, data, node string)

func Vulkan

func Vulkan(t testing.TB) *vulkan.Renderer

func XKBCompiler

func XKBCompiler(t testing.TB) *xkb.Compiler

Types

This section is empty.

Jump to

Keyboard shortcuts

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