1bdep-test(1)                General Commands Manual               bdep-test(1)
2
3
4

NAME

6       bdep-test - test project in build configurations
7

SYNOPSIS

9       bdep test [options] [pkg-spec] [cfg-spec] [cfg-var...]
10
11       cfg-spec = (@cfg-name | --config|-c cfg-dir)... | --all|-a
12       pkg-spec = (--directory|-d pkg-dir)... | prj-spec
13       prj-spec = --directory|-d prj-dir
14

DESCRIPTION

16       The  test  command tests the project packages in one or more build con‐
17       figurations. Additionally, immediate or all dependencies of the project
18       packages  can  be  tested  by specifying the --immediate|-i or --recur‐
19       sive|-r options, respectively.
20
21       Underneath test executes the bpkg-pkg-test(1) command which  itself  is
22       not  much  more  than the build system test operation (see b(1) for de‐
23       tails). As a result, the main utility of this command is the ability to
24       refer  to build configurations by names and to project packages implic‐
25       itly via the current working directory as well as to test dependencies.
26
27       If no project or package directory is specified, then the current work‐
28       ing  directory  is  assumed. If no configuration is specified, then the
29       default configurations are assumed.  See  bdep-projects-configs(1)  for
30       details  on specifying projects and configurations. Optional cfg-var...
31       are the additional configuration variables to pass to the build system.
32

TEST OPTIONS

34       --immediate|-i
35              Also test immediate dependencies.
36
37       --recursive|-r
38              Also test all dependencies, recursively.
39
40       --all|-a
41              Use all build configurations.
42
43       --config|-c dir
44              Specify the build configuration as a directory.
45
46       --directory|-d dir
47              Assume project/package is in the specified directory rather than
48              in the current working directory.
49
50       --config-name|-n name
51              Specify the build configuration as a name.
52
53       --config-id num
54              Specify the build configuration as an id.
55

COMMON OPTIONS

57       The  common  options are summarized below with a more detailed descrip‐
58       tion available in bdep-common-options(1).
59
60       -v     Print essential underlying commands being executed.
61
62       -V     Print all underlying commands being executed.
63
64       --quiet|-q
65              Run quietly, only printing error messages.
66
67       --verbose level
68              Set the diagnostics verbosity to level between 0 and 6.
69
70       --jobs|-j num
71              Number of jobs to perform in parallel.
72
73       --no-progress
74              Suppress progress indicators for long-lasting  operations,  such
75              as network transfers, building, etc.
76
77       --bpkg path
78              The  package  manager program to be used for build configuration
79              management.
80
81       --bpkg-option opt
82              Additional option to be passed to the package manager program.
83
84       --build path
85              The build program to be used to build packages.
86
87       --build-option opt
88              Additional option to be passed to the build program.
89
90       --curl path
91              The curl program to be used for network operations.
92
93       --curl-option opt
94              Additional option to be passed to the curl program.
95
96       --pager path
97              The pager program to be used to show long text.
98
99       --pager-option opt
100              Additional option to be passed to the pager program.
101
102       --options-file file
103              Read additional options from file.
104
105       --default-options dir
106              The directory to load additional default options files from.
107
108       --no-default-options
109              Don't load default options files.
110

DEFAULT OPTIONS FILES

112       See bdep-default-options-files(1) for an overview of  the  default  op‐
113       tions  files.  For  the  test command the search start directory is the
114       project directory. The following options files are searched for in each
115       directory and, if found, loaded in the order listed:
116
117       bdep.options
118       bdep-test.options
119
120       The  following  test command options cannot be specified in the default
121       options files:
122
123       --directory|-d
124

BUGS

126       Send bug reports to the users@build2.org mailing list.
127
129       Copyright (c) 2014-2021 the build2 authors.
130
131       Permission is granted to copy, distribute and/or modify  this  document
132       under the terms of the MIT License.
133
134
135
136bdep 0.14.0                      October 2021                     bdep-test(1)
Impressum