File: hare-test.1.scd

package info (click to toggle)
hare 0.24.2-4
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 6,756 kB
  • sloc: asm: 1,180; sh: 119; makefile: 116; lisp: 99
file content (41 lines) | stat: -rw-r--r-- 969 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
HARE-TEST(1)

# NAME

hare-test - compile and run tests for Hare code

# SYNOPSIS

*hare test* [-hqv]++
	[-a _arch_]++
	[-D _ident[:type]=value_]++
	[-j _jobs_]++
	[-L _libdir_]++
	[-l _libname_]++
	[-o _path_]++
	[-R]++
	[-T _tagset_]++
	[_path_ [_tests_...]]

# DESCRIPTION

*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).

# SEE ALSO

*hare-build*(1), *hare-run*(1), *hare-module*(5)