.\" Generated by scdoc 1.11.4 .\" Complete documentation for this program is not available as a GNU info page .ie \n(.g .ds Aq \(aq .el .ds Aq ' .nh .ad l .\" Begin generated content: .TH "hare-test" "1" "2026-06-01" .PP .SH NAME .PP hare test - compile and run tests for Hare code .PP .SH SYNOPSIS .PP \fBhare test\fR [-hqv] .br [-a \fIarch\fR] .br [-D \fIident[:type]=value\fR] .br [-j \fIjobs\fR] .br [-L \fIlibdir\fR] .br [-l \fIlibname\fR] .br [-o \fIpath\fR] .br [-R] .br [-T \fItagset\fR] .br [\fIpath\fR [\fItests\fR.\&.\&.\&]] .PP .SH DESCRIPTION .PP \fBhare test\fR compiles and runs tests for a Hare program or module.\& The +test tag is added to the default build tags (see \fBBUILD TAGS\fR in \fBhare-module\fR(5)).\& If no \fIpath\fR 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 \fIpath\fR is given, the source file or module is built and tested.\& .PP If no \fItests\fR are supplied, all eligible tests are run.\& Otherwise, each argument is interpreted as a \fBglob\fR(7) pattern, giving the names of the tests to run.\& .PP .SH OPTIONS .PP Refer to \fBhare-build\fR(1).\& .PP .SH ENVIRONMENT .PP Refer to \fBhare-build\fR(1).\& .PP .SH SEE ALSO .PP \fBhare-build\fR(1), \fBhare-run\fR(1), \fBhare-module\fR(5)