hare

[hare] The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

hare-test.1.scd (969B)


      1 hare-test(1)
      2 
      3 # NAME
      4 
      5 hare test - compile and run tests for Hare code
      6 
      7 # SYNOPSIS
      8 
      9 *hare test* [-hqv]++
     10 	[-a _arch_]++
     11 	[-D _ident[:type]=value_]++
     12 	[-j _jobs_]++
     13 	[-L _libdir_]++
     14 	[-l _libname_]++
     15 	[-o _path_]++
     16 	[-R]++
     17 	[-T _tagset_]++
     18 	[_path_ [_tests_...]]
     19 
     20 # DESCRIPTION
     21 
     22 *hare test* compiles and runs tests for a Hare program or module. The +test tag
     23 is added to the default build tags (see *BUILD TAGS* in *hare-module*(5)). If no
     24 _path_ is given, all Hare modules in the current working directory are
     25 recursively discovered, built, and their tests made eligible for the test run.
     26 Otherwise, if a _path_ is given, the source file or module is built and tested.
     27 
     28 If no _tests_ are supplied, all eligible tests are run. Otherwise, each argument
     29 is interpreted as a *glob*(7) pattern, giving the names of the tests to run.
     30 
     31 # OPTIONS
     32 
     33 Refer to *hare-build*(1).
     34 
     35 # ENVIRONMENT
     36 
     37 Refer to *hare-build*(1).
     38 
     39 # SEE ALSO
     40 
     41 *hare-build*(1), *hare-run*(1), *hare-module*(5)