hare-test(1)

hare-test1

Compile and run tests for hare code

Usage

hare test [-hqv] [-a arch] [-D ident [:type] =value] [-j jobs] [-L libdir] [-l libname] [-o path] [-R] [-T tagset] [path [tests ...]]

Overview

hare test compiles and runs tests for a Hare program or module. The +test tag is added to the default build tags (see BUILD TAGS in hare-module(5)). If no path is given, all Hare modules in the current working directory are recursively discovered, built, and their tests made eligible for the test run. Otherwise, if a path is given, the source file or module is built and tested.

If no tests are supplied, all eligible tests are run. Otherwise, each argument is interpreted as a glob(7) pattern, giving the names of the tests to run.

Options

Refer to hare-build(1).

Environment

Refer to hare-build(1).

Releases

2 releases since Debian 13 (Trixie); the text changed 1 time.

  1. 13
  2. Arch

From hare 0.26.0.1-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.