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
- func CloseDriver(closeDriver func() error) error
- func CursorTheme(t testing.TB) *xcursor.Theme
- func Font(t testing.TB) *gtext.Typeface
- func GPU(t testing.TB) *gpu.Library
- func Keymap(t testing.TB) *xkb.Keymap
- func Library(t testing.TB, name, path string, err error)
- func OpenDMABUFs(t testing.TB) int
- func Require(t testing.TB, binary string) string
- func SocketDir(t testing.TB) string
- func UdevRecord(t testing.TB, data, node string)
- func Vulkan(t testing.TB) *vulkan.Renderer
- func XKBCompiler(t testing.TB) *xkb.Compiler
Constants ¶
View Source
const HangLimit = 30 * time.Second
Variables ¶
This section is empty.
Functions ¶
func CloseDriver ¶
func OpenDMABUFs ¶
func UdevRecord ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.